.eh_frame, .eh_frame_hdr - how to remove that trash

Alexander Kabaev kabaev at gmail.com
Thu Oct 20 23:27:00 UTC 2011


On Fri, 21 Oct 2011 01:13:59 +0200 (CEST)
Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl> wrote:

> >
> > -fno-asynchronous-unwind-tables should get rid of unwind
> > information, a.k.a. 'crap'.
> and this worked. found it just before getting your mail ;)
> 
> yes and this is crap... possibly it is needed for some cases and some 
> languages and i would not call it crap if it would not be included by 
> default!
> 

It is part of the amd64 ABI, which defaults to not pushing stack frames
on entry into each function, which is different from usual x86
convention.
Asynchronous unwind info (yeah, same stuff you keep referring to as
crap), is the only way you can debug your program or get anything
remotely close to usable backtrace, by default. 

-- 
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20111020/10b5b425/signature.pgp


More information about the freebsd-hackers mailing list