diff options
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 6 |
1 files changed, 3 insertions, 3 deletions
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 |