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

Nick Kelsey nickk@ubicom.com
Fri Dec 13 09:45:00 GMT 2002


----- Original Message -----
From: "Nick Clifton" <nickc@redhat.com>
To: <jafa@silicondust.com>
Sent: Friday, December 13, 2002 8:26 AM
Subject: Re: Fw: Patch to add the ability to globally prefix sections and/or
symbols using objcopy.


>   * The patch used a local variable called 'remove_leading_char' which
>     shadowed a global variable.

Groan, oops, my appologies.

> I haved fixed both of these problems and applied the patch.
>
> Cheers
>         Nick

Thanks!

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