aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-07-25 14:56:22 +0000
committerNick Clifton <nickc@redhat.com>2007-07-25 14:56:22 +0000
commit98c503ac20be271e0970a1517aede57002bd2528 (patch)
tree262b1d8016c0ddba087462ebd9c621204a04d097 /ld/ld.texinfo
parentd08ec383512c6998263889ee636e033d4f167f1f (diff)
downloadgdb-98c503ac20be271e0970a1517aede57002bd2528.zip
gdb-98c503ac20be271e0970a1517aede57002bd2528.tar.gz
gdb-98c503ac20be271e0970a1517aede57002bd2528.tar.bz2
PR 4824
* ld.texinfo (Options): Extend the description of the -O command line option.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo6
1 files changed, 5 insertions, 1 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index aca0162..f27c08c 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -758,7 +758,11 @@ script command @code{OUTPUT} can also specify the output file name.
@item -O @var{level}
If @var{level} is a numeric values greater than zero @command{ld} optimizes
the output. This might take significantly longer and therefore probably
-should only be enabled for the final binary.
+should only be enabled for the final binary. At the moment this
+option only affects ELF shared library generation. Future releases of
+the linker may make more use of this option. Also currently there is
+no difference in the linker's behaviour for different non-zero values
+of this option. Again this may change with future releases.
@kindex -q
@kindex --emit-relocs