--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.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"