Since elfutils 0.170, eu-strip supports -R / --remove-section option: https://sourceware.org/git/?p=elfutils.git;a=blob;f=NEWS;h=3d097c68438489b028e2eb6931f8287fd9a46652;hb=HEAD#l197 """ strip: Add -R, --remove-section=SECTION and --keep-section=SECTION. """ "--remove-comment" is the same as "-R .comment". (eu-strip still does not support -N / --strip-symbol option, which would be good to use when it is implemented (Bug #686282).) <elfutils-0.170 was deleted almost 2 years ago: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a0474559d4361a75a90aadc2b0f5ec46d85f359 I suggest to call eu-strip with the same -R options as for GNU strip / llvm-strip: -R .comment -R .GCC.command.line -R .note.gnu.gold-version