https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225890

--- Comment #1 from Ed Maste <ema...@freebsd.org> ---
GNU strip behaves the same way, and I would suggest using objcopy instead. GNU
strip's man page reports that -R <sectionnme> removes "any section named
<sectionname> from the output file, in addition to whatever sections would
otherwise be removed."

WRT ELF Tool Chain strip, it appears it defaults to STRIP_ALL (-s) unless one
of these options is set:
-S,-g,-d, --only-keep-debug, --strip-unneeded, -x, -X, -N

It seems to me that -R should be included in the list, and that the behaviour
currently provided by -R should instead be obtained with -R -s, but that would
be a divergence from GNU strip that we probably do not want to have.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to