summaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2010-09-16 00:06:10 +0000
committerAlan Modra <amodra@bigpond.net.au>2010-09-16 00:06:10 +0000
commit483a75dd573b54b14116d4b766057f965a62ec06 (patch)
tree54050444dcaaf7cb7d48615f9cbdd098c16c8def /ld/ld.texinfo
parent83912a80260976ae1824074dbb4bd255b291cf65 (diff)
downloadbinutils-redhat-483a75dd573b54b14116d4b766057f965a62ec06.tar.gz
bfd/
* elf.c (bfd_elf_get_default_section_type): Don't test SEC_NEVER_LOAD. * elflink.c (elf_link_input_bfd): Likewise. ld/ * ld.texinfo (NOLOAD): Do not erroneously state that contents will appear in output file. * ldlang.c (lang_add_section): Clear SEC_HAS_CONTENTS on noload unless SEC_COFF_SHARED_LIBRARY. (map_input_to_output_sections): Don't set SEC_HAS_CONTENTS for noload output sections. (lang_size_sections_1): Don't test SEC_NEVER_LOAD when deciding to update dot in region. Ditto when setting SEC_ALLOC if dot advanced due to assignment. * ldwrite.c (build_link_order): Don't test SEC_NEVER_LOAD.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo3
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index a3d8b9a740..28c59f2a79 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -4290,8 +4290,7 @@ The linker normally sets the attributes of an output section based on
the input sections which map into it. You can override this by using
the section type. For example, in the script sample below, the
@samp{ROM} section is addressed at memory location @samp{0} and does not
-need to be loaded when the program is run. The contents of the
-@samp{ROM} section will appear in the linker output file as usual.
+need to be loaded when the program is run.
@smallexample
@group
SECTIONS @{