This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Fw: Patch to add the ability to globally prefix sections and/or symbols using objcopy.
- From: "Nick Kelsey" <nickk at ubicom dot com>
- To: "Nick Clifton" <nickc at redhat dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: Fri, 13 Dec 2002 08:46:37 -0800
- Subject: Re: Fw: Patch to add the ability to globally prefix sections and/or symbols using objcopy.
- References: <08fe01c2a165$50153090$f601a8c0@nkelseyxp> <redirect-4770018@silicondust.com>
----- 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.
>
>