From a0976ea4729875c5b66789216dfa7cd74675d6af Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 23 Oct 2006 03:09:35 +0000 Subject: [PATCH] * ld.texinfo (Output Section Discarding): Fix xref. --- ld/ChangeLog | 4 ++++ 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 + + * ld.texinfo (Output Section Discarding): Fix xref. + 2006-10-21 Kaz Kojima * 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 -- 2.7.4