This is the mail archive of the
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> <email@example.com>
----- Original Message -----
From: "Nick Clifton" <firstname.lastname@example.org>
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.
> 2002-12-04 Nick Kelsey <email@example.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.