aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-10-23 03:09:35 +0000
committerAlan Modra <amodra@gmail.com>2006-10-23 03:09:35 +0000
commita0976ea4729875c5b66789216dfa7cd74675d6af (patch)
tree44cb151920e2ebacf9ee67431b57639e5b99c744 /ld
parent063d4ee10cc1a38b857dbc623f0c0d9bccbe6add (diff)
downloadgdb-a0976ea4729875c5b66789216dfa7cd74675d6af.zip
gdb-a0976ea4729875c5b66789216dfa7cd74675d6af.tar.gz
gdb-a0976ea4729875c5b66789216dfa7cd74675d6af.tar.bz2
* ld.texinfo (Output Section Discarding): Fix xref.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ld.texinfo6
2 files changed, 7 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 2957c76..0daa4d0 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-23 Alan Modra <amodra@bigpond.net.au>
+
+ * ld.texinfo (Output Section Discarding): Fix xref.
+
2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* emulparams/shelf32.sh: Set default stack to 0x80000.
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 067f1f6..545f4ef 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -3696,11 +3696,11 @@ will only create a @samp{.foo} section in the output file if there is a
sections are not all empty. Other link script directives that allocate
space in an output section will also create the output section.
-The linker will ignore address assignments (@xref{Output Section Address})
+The linker will ignore address assignments (@pxref{Output Section Address})
on discarded output sections, except when the linker script defines
symbols in the output section. In that case the linker will obey
-the address assignments, possibly advancing dot and/or current lma
-even though the section is discarded.
+the address assignments, possibly advancing dot even though the
+section is discarded.
@cindex /DISCARD/
The special output section name @samp{/DISCARD/} may be used to discard