aboutsummaryrefslogtreecommitdiff
path: root/binutils/binutils.texi
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-04-05 03:43:56 +0000
committerAlan Modra <amodra@gmail.com>2000-04-05 03:43:56 +0000
commit57938635f57dadd1b711d66cb119e8ad807747b7 (patch)
tree78fe44d1e632cf962e20d4ec786c3bc186561b17 /binutils/binutils.texi
parentc7e79b4bee6d93b98ae43da739ef73f9ac740fb5 (diff)
downloadgdb-57938635f57dadd1b711d66cb119e8ad807747b7.zip
gdb-57938635f57dadd1b711d66cb119e8ad807747b7.tar.gz
gdb-57938635f57dadd1b711d66cb119e8ad807747b7.tar.bz2
Add --redefine-sym to objcopy.
Diffstat (limited to 'binutils/binutils.texi')
-rw-r--r--binutils/binutils.texi17
1 files changed, 11 insertions, 6 deletions
diff --git a/binutils/binutils.texi b/binutils/binutils.texi
index 99f72fe..1820d66 100644
--- a/binutils/binutils.texi
+++ b/binutils/binutils.texi
@@ -878,14 +878,14 @@ objcopy [ -F @var{bfdname} | --target=@var{bfdname} ]
[ --gap-fill=@var{val} ] [ --pad-to=@var{address} ]
[ --set-start=@var{val} ] [ --adjust-start=@var{incr} ]
[ --change-addresses=@var{incr} ]
- [ --change-section-address=@var{section}@{=,+,-@}@var{val} ]
- [ --change-section-lma=@var{section}@{=,+,-@}@var{val} ]
- [ --change-section-vma=@var{section}@{=,+,-@}@var{val} ]
+ [ --change-section-address @var{section}@{=,+,-@}@var{val} ]
+ [ --change-section-lma @var{section}@{=,+,-@}@var{val} ]
+ [ --change-section-vma @var{section}@{=,+,-@}@var{val} ]
[ --change-warnings ] [ --no-change-warnings ]
- [ --set-section-flags=@var{section}=@var{flags} ]
- [ --add-section=@var{sectionname}=@var{filename} ]
+ [ --set-section-flags @var{section}=@var{flags} ]
+ [ --add-section @var{sectionname}=@var{filename} ]
[ --change-leading-char ] [ --remove-leading-char ]
- [ --weaken ]
+ [ --redefine-sym @var{old}=@var{new} ] [ --weaken ]
[ -v | --verbose ] [ -V | --version ] [ --help ]
@var{infile} [@var{outfile}]
@end smallexample
@@ -1137,6 +1137,11 @@ different conventions for symbol names. This is different from
when appropriate, regardless of the object file format of the output
file.
+@item --redefine-sym @var{old}=@var{new}
+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 --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