aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc/binutils.texi
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-08-24 13:56:11 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-08-24 13:56:11 +0000
commit1ae8b3d2a04d1064a403ce6adf997831e1a55300 (patch)
treeed4a8b91313b19370fe89dc88dde648e29abe49e /binutils/doc/binutils.texi
parent8c98ec7dcccbe45bed00b04e04c3d7cac8f7b744 (diff)
downloadgdb-1ae8b3d2a04d1064a403ce6adf997831e1a55300.zip
gdb-1ae8b3d2a04d1064a403ce6adf997831e1a55300.tar.gz
gdb-1ae8b3d2a04d1064a403ce6adf997831e1a55300.tar.bz2
* objcopy.c (use_alt_mach_code): New variable.
(OPTION_ALT_MACH_CODE): Define. (copy_options): Added --alt-machine-code. (copy_main): Handle it. (copy_object): Switch to alternate machine code if requested. * doc/binutils.texi: Document new option. * NEWS: Likewise.
Diffstat (limited to 'binutils/doc/binutils.texi')
-rw-r--r--binutils/doc/binutils.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 38de927..ecb767c 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -954,6 +954,7 @@ objcopy [@option{-F} @var{bfdname}|@option{--target=}@var{bfdname}]
[@option{--keep-global-symbols=}@var{filename}]
[@option{--localize-symbols=}@var{filename}]
[@option{--weaken-symbols=}@var{filename}]
+ [@option{--alt-machine-code=@var{index}}]
[@option{-v}|@option{--verbose}]
[@option{-V}|@option{--version}]
[@option{--help}]
@@ -1306,6 +1307,13 @@ Apply @option{--weaken-symbol} option to each symbol listed in the file
name per line. Line comments may be introduced by the hash character.
This option may be given more than once.
+@item --alt-machine-code=@var{index}
+If the output architecture has alternate machine codes, use the
+@var{index}th code instead of the default one. This is useful in case
+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 -V
@itemx --version
Show the version number of @command{objcopy}.