what is .rel.eh_frame REL in elf section

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
descent
Posts: 10
Joined: Wed Sep 05, 2012 1:25 am
Location: Taiwan

what is .rel.eh_frame REL in elf section

Post 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?
User avatar
sortie
Member
Member
Posts: 931
Joined: Wed Mar 21, 2012 3:01 pm
Libera.chat IRC: sortie

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

Post by sortie »

Have you consulted the System V ABI documents? (There is a base document, a i386 addition, a x86_64 addition, various versions)
descent
Posts: 10
Joined: Wed Sep 05, 2012 1:25 am
Location: Taiwan

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

Post by descent »

Hi sortie,

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