This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Ah, so eh_frame is just a table of meta-data describing the code in the data section, right? (no executable code in eh_frame itself?) And I'm guessing it needs relocation entries in order to reference the sizes/positions of items linked in other sections?The eh_frame data is used to unwind the stack when an exception is thrown. It records things like where to find the return address and which registers are stored where.
bfd/elf-eh-frame.cThis file is in binutils... looking through it shows how to read/ write the data, which is half the battle, but the data is apparently being generated elsewhere.
thanks, -ethan
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |