Page 1 of 1

what is .rel.eh_frame REL in elf section

Posted: Sun Jun 23, 2013 10:24 pm
by descent
Hi,

I try parse elf object file to load it to memory.
In gcc 4.4 only .rel.text relocation section, I just get relocation information from it.
In gcc 4.7.2, .rel.eh_frame section is also REL type.
What is the .rel.eh_frame section?

Re: what is .rel.eh_frame REL in elf section

Posted: Mon Jun 24, 2013 4:19 am
by sortie
Have you consulted the System V ABI documents? (There is a base document, a i386 addition, a x86_64 addition, various versions)

Re: what is .rel.eh_frame REL in elf section

Posted: Mon Jun 24, 2013 6:48 pm
by descent
Hi sortie,

Thank you for your reply, I will read the document.