.eh_frame, .eh_frame_hdr - how to remove that trash

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Thu Oct 20 10:44:40 UTC 2011


i both don't use C++ and don't want to debug when i am linking final 
binary.

how to turn this off?

On Thu, 20 Oct 2011, Joerg Sonnenberger wrote:

> On Thu, Oct 20, 2011 at 09:41:24AM +0200, Wojciech Puchar wrote:
>> how to do this and what the hell it is used at all?
>
> It is used to allow unwinding stack frames. That is required for
> exception handling with C++ and also to allow debugging in the presence
> of -fomit-frame-pointer, e.g. as used by default on AMD64.
>
> Joerg
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
>


More information about the freebsd-hackers mailing list