diff options
author | Nick Clifton <nickc@redhat.com> | 2002-12-13 13:19:44 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-12-13 13:19:44 +0000 |
commit | d7fb0dd217056115f343a65919f97525ba88fc3c (patch) | |
tree | 39f8b3bcc10fcab385a6fe82d24324da446d475d /binutils/doc | |
parent | 4024f1e1c5302255a2d35e8969e2baa65038e649 (diff) | |
download | gdb-d7fb0dd217056115f343a65919f97525ba88fc3c.zip gdb-d7fb0dd217056115f343a65919f97525ba88fc3c.tar.gz gdb-d7fb0dd217056115f343a65919f97525ba88fc3c.tar.bz2 |
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.
Diffstat (limited to 'binutils/doc')
-rw-r--r-- | binutils/doc/binutils.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index ffd618f..1849c82 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -960,6 +960,9 @@ objcopy [@option{-F} @var{bfdname}|@option{--target=}@var{bfdname}] [@option{--localize-symbols=}@var{filename}] [@option{--weaken-symbols=}@var{filename}] [@option{--alt-machine-code=@var{index}}] + [@option{--prefix-symbols=@var{string}] + [@option{--prefix-sections=@var{string}] + [@option{--prefix-alloc-sections=@var{string}] [@option{-v}|@option{--verbose}] [@option{-V}|@option{--version}] [@option{--help}] @@ -1319,6 +1322,16 @@ a machine is assigned an official code and the tool-chain adopts the new code, but other applications still depend on the original code being used. +@item --prefix-symbols=@var{string} +Prefix all symbols in the output file with @var{string}. + +@item --prefix-sections=@var{string} +Prefix all section names in the output file with @var{string}. + +@item --prefix-alloc-sections=@var{string} +Prefix all the names of all allocated sections in the output file with +@var{string}. + @item -V @itemx --version Show the version number of @command{objcopy}. |