.eh_frame, .eh_frame_hdr - how to remove that trash
Wojciech Puchar
wojtek at wojtek.tensor.gdynia.pl
Thu Oct 20 23:05:19 UTC 2011
>> --remove-section .rel.eh_frame --remove-section .rela.eh_frame
>> $your_executable
>>
>
> After I done this, the binary size *increased* a lot, while objdump shows
> that the content is less. I don't understand.
>
add -fomit-frame-pointer -fno-exceptions -fno-asynchronous-unwind-tables
-fno-unwind-tables when compiling with gcc and this trash is not produced
at first place.
More information about the freebsd-hackers
mailing list