Fw: Patch to add the ability to globally prefix sections and/or symbols using objcopy.
Nick Clifton
nickc@redhat.com
Fri Dec 13 07:48:00 GMT 2002
Hi Nick,
> I revised the objcopy patch as per your suggestions and emailed it
> to the binutils mailing list.
There were a couple of other problems with this patch:
* It did not include additions to the binutils/NEWS and binutils/doc/
binutils.texi files describing the new features added to
objcopy.
* The patch used a local variable called 'remove_leading_char' which
shadowed a global variable.
I haved fixed both of these problems and applied the patch.
Cheers
Nick
2002-12-04 Nick Kelsey <nickk@ubicom.com>
* objcopy.c (feature extension): Added --prefix-symbols <prefix>
option to rename all symbols by adding the given prefix to the begining
of the symbol name. This is useful to provide name space seperation
regardless of how the object file was created. Added --prefix-sections
<prefix> and --prefix-alloc-sections <prefix> options to rename all
sections (or all sections with the alloc flag set) by adding the given
prefix to the begining of the symbol name.
More information about the Binutils
mailing list