Live data from Hacker News

Elf Hello World

cirosantilli.com

1–10 of 32 posts

Re: Elf Hello World

#4
post #2

It's great, thanks! Thoughts for chapter 2: stuff that often confuses me: PLT, GOT, FDE/CIE.

I love the fact that it's all on one page and uses HTML anchors to get around. It makes it super simple to archive and read up later if the site ever goes down.

Re: Elf Hello World

#6
post #5
post #2

It's great, thanks! Thoughts for chapter 2: stuff that often confuses me: PLT, GOT, FDE/CIE.

I know PLT and GOT but am unfamiliar with the acronyms FDE/CIE. Can you say what those are?

FDE: Frame Description Entry, CIE: Common Information Entry. AFAIR, they're used to unwind the stack in exceptions.

I think it's specified by itanium C++ ABI (which sounds archaic but actually many other processors use the same one).

I don't recall if these things are ELF features or if the ELF only knows about the "eh_frame" section. It's interesting and kinda sorta related low-level stuff IMO.

Re: Elf Hello World

#8
post #6
post #5

Earlier quoted context omitted.

I know PLT and GOT but am unfamiliar with the acronyms FDE/CIE. Can you say what those are?

FDE: Frame Description Entry, CIE: Common Information Entry. AFAIR, they're used to unwind the stack in exceptions. I think it's specified by itanium C++ ABI (which sounds archaic but actually many other processors use the same one). I don't recall if these things are ELF features or if the ELF only knows about the "eh_frame" section. It's interesting and kinda sorta related low-level stuff IMO.

Interesting, I wasn't familiar with this standard. It sounds like this has been adopted by some other architectures besides Itanium as well:

http://wiki.dwarfstd.org/index.php?title=Exception_Handling

Post reply on HN