.eh_frame, .eh_frame_hdr - how to remove that trash

Alexander Kabaev kabaev at gmail.com
Thu Oct 20 23:37:39 UTC 2011


On Fri, 21 Oct 2011 00:20:52 +0200 (CEST)
Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl> wrote:

> >> i both don't use C++ and don't want to debug when i am linking
> >> final binary.
> >>
> >> how to turn this off?
> >
> > Which compiler do you use?
> 
> supplied with FreeBSD 8.2
> [wojtek at wojtek ~]$ cc -v
> Using built-in specs.
> Target: amd64-undermydesk-freebsd
> Configured with: FreeBSD/amd64 system compiler
> Thread model: posix
> gcc version 4.2.2 20070831 prerelease [FreeBSD]
> 

-fno-asynchronous-unwind-tables should get rid of unwind information,
a.k.a. 'crap'.

-- 
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/26f6fd15/signature.pgp


More information about the freebsd-hackers mailing list