diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2003-06-02 14:45:13 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2003-06-02 14:45:13 +0000 |
commit | 92991082e9db02ae89daffa50771552e958ba177 (patch) | |
tree | 3591cc4ddb5c55b017a1cfc9b5b9f4df049278b1 /binutils/doc | |
parent | 3bb727441d45dc357080da05218af31275d03e92 (diff) | |
download | gdb-92991082e9db02ae89daffa50771552e958ba177.zip gdb-92991082e9db02ae89daffa50771552e958ba177.tar.gz gdb-92991082e9db02ae89daffa50771552e958ba177.tar.bz2 |
* 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.
Diffstat (limited to 'binutils/doc')
-rw-r--r-- | binutils/doc/binutils.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index f5f06e3..9c12f78 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -958,6 +958,7 @@ objcopy [@option{-F} @var{bfdname}|@option{--target=}@var{bfdname}] [@option{--change-leading-char} ] [@option{--remove-leading-char}] [@option{--srec-len=}@var{ival} ] [@option{--srec-forceS3}] [@option{--redefine-sym} @var{old}=@var{new} ] + [@option{--redefine-syms=}@var{filename} ] [@option{--weaken}] [@option{--keep-symbols=}@var{filename}] [@option{--strip-symbols=}@var{filename}] @@ -1284,6 +1285,12 @@ Change the name of a symbol @var{old}, to @var{new}. This can be useful when one is trying link two things together for which you have no source, and there are name collisions. +@item --redefine-syms=@var{filename} +Apply @option{--redefine-sym} to each symbol pair "@var{old} @var{new}" +listed in the file @var{filename}. @var{filename} is simply a flat file, +with one symbol pair per line. Line comments may be introduced by the hash +character. This option may be given more than once. + @item --weaken Change all global symbols in the file to be weak. This can be useful when building an object which will be linked against other objects using |