[PATCH/RFA] Add --redefine-syms=<filename> option to objcopy

Jason Thorpe thorpej@wasabisystems.com
Sun Jun 1 01:43:00 GMT 2003


This is an update of the patch Chris Demetriou posted in this message:

	http://sources.redhat.com/ml/binutils/2002-09/msg00505.html

NetBSD has, in fact, been using this patch for a while now in a local 
copy of binutils 2.13.  The patch I am posting here is an update, with 
the following changes from Chris's original patch:

	* The option is --redefine-syms=<filename> for consistency
	  with e.g. --keep-symbols=<filename>.
	* The file may have comments (as is allowed by e.g.
	  --keep-symbols=<filename>).

OK for mainline?   OK for 2.14 branch?

2003-05-31  Chris Demetriou  <cgd@broadcom.com>
             Jason Thorpe  <thorpej@wasabisystems.com>

         * objcopy.c (redefine_list_append): Add an argument that
         indicates the context from which this function is being
         called.  Change all callers.
         (copy_options): Add a new option, --redefine-syms.
         (copy_usage): Document new option.
         (copy_main): Handle the --redefine-syms option.
         * doc/binutils.text (objcopy): Document new option.

         -- Jason R. Thorpe <thorpej@wasabisystems.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: objcopy-syms-patch
Type: application/octet-stream
Size: 9119 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030601/4dddbd06/attachment.obj>


More information about the Binutils mailing list