You copied the Doc URL to your clipboard.

ARM Compiler armlink User Guide : --eh_frame_hdr


When an AArch64 image contains C++ exceptions, merges all .eh_frame sections into one .eh_frame section and then creates the .eh_frame_hdr section.


The .eh_frame_hdr section contains a binary search table of pointers to the .eh_frame records. During the merge armlink removes any orphaned records.

Only .eh_frame sections defined by the Linux Standard Base specification are supported. The .eh_frame_hdr section is created according to the Linux Standard Base specification. If armlink finds an unexpected .eh_frame section, it stops merging, does not create the .eh_frame_hdr section, and generates corresponding warnings.


The default is --eh_frame_hdr.


Valid only for AArch64 images.

Related information