[PATCH] objcopy: add option to specify custom symbol name for binary input
Alan Modra
amodra@gmail.com
Mon Oct 27 06:47:29 GMT 2025
Some comments on the patch.
I don't see the need for a struct bfd change. binary.c is always
compiled in to libbfd, so setting a variable defined in binary.c
should be OK. (This sort of thing is already done for srec and
verilog.)
It seems to me that it might be more useful if the objcopy option set
the entire binary symbol prefix, and the option be called
--binary-symbol-prefix.
You failed to change the symbol string memory allocation.
--
Alan Modra
More information about the Binutils
mailing list