.eh_frame, .eh_frame_hdr - how to remove that trash

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Thu Oct 20 08:11:15 UTC 2011

how to do this and what the hell it is used at all?
i found somewhere it is some debugging info but i do not put -g option to 
compiler while compiling and still get substantial amount of this trash.

trying strip -R .eh_frame -R .eh_frame_hdr results in working but 
LARGER binary, padded with lots of binary zeros.

as the resulting program is working fine it proves that it is not needed 
at all, but i have no idea why this zero padding

More information about the freebsd-hackers mailing list