Linux Standard Base Core Specification 2.1 | ||
---|---|---|
<<< Previous | Next >>> |
The .eh_frame_hdr section contains additional information about the .eh_frame section. A pointer to the start of the .eh_frame data, and optionally, a binary search table of pointers to the .eh_frame records are found in this section.
Data in this section is encoded according to the DWARF Exception Header Encoding described below.
Table 7-1. .eh_frame_hdr Section Format
Encoding | Field |
---|---|
unsigned byte | version |
unsigned byte | eh_frame_ptr_enc |
unsigned byte | fde_count_enc |
unsigned byte | table_enc |
encoded | eh_frame_ptr |
encoded | fde_count |
binary search table |
Version of the .eh_frame_hdr format. This value shall be 1.
The encoding format of the eh_frame_ptr field.
The encoding format of the fde_count field. A value of DW_EH_PE_omit indicates the binary search table is not present.
The encoding format of the entries in the binary search table. A value of DW_EH_PE_omit indicates the binary search table is not present.
The encoded value of the pointer to the start of the .eh_frame section.
The encoded value of the count of entries in the binary search table.
A binary search table containing fde_count entries. Each entry of the table consist of two encoded values, the initial location, and the address. The entries are sorted in an increasing order by the initial location value.
<<< Previous | Home | Next >>> |
DWARF Extensions | Up | DWARF Exception Header Encoding |