[PATCH] Implement objcopy/strip --keep-section=<sectionpattern>

Fāng-ruì Sòng via binutils binutils@sourceware.org
Fri Nov 1 00:07:00 GMT 2019


llvm-objcopy and llvm-strip support an option --keep-section that
keeps some sections from being removed.
https://llvm.org/docs/CommandGuide/llvm-objcopy.html#cmdoption-llvm-objcopy-keep-section

This may be useful for distributions that really want to keep .ctf
https://sourceware.org/ml/binutils/2019-10/msg00016.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: objcopy-keep-section.patch
Type: text/x-patch
Size: 10664 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20191101/67666c4e/attachment.bin>


More information about the Binutils mailing list