This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fw: Patch to add the ability to globally prefix sections and/or symbols using objcopy.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]