diff options
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/ld.texinfo | 6 |
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 |