aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/ld.texinfo6
2 files changed, 11 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f0a5ab9..c669d31 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2007-07-25 Nick Clifton <nickc@redhat.com>
+
+ PR 4824
+ * ld.texinfo (Options): Extend the description of the -O command
+ line option.
+
2007-07-24 Kai Tietz <kai.tietz@onevision.com>
* pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
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