summaryrefslogtreecommitdiff
path: root/ld/NEWS
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-05-21 12:16:22 +0000
committerNick Clifton <nickc@redhat.com>2008-05-21 12:16:22 +0000
commit3bea5c4918e32b75567a8973352fbb42c16d3082 (patch)
treea79d3c697d20345f1abeceee864620221add2411 /ld/NEWS
parent45744a5996bdb3380cee8e8398acc4ad42068e8d (diff)
downloadbinutils-redhat-3bea5c4918e32b75567a8973352fbb42c16d3082.tar.gz
PR ld/6519
* ld.texinfo (Orphan Sections): Mention that the linker will provide start and stop symbols for orphaned sections if their names are valid C identifiers. * NEWS: Add an addendum to the description of the linker feature for providing orphan section start and end symbols.
Diffstat (limited to 'ld/NEWS')
-rw-r--r--ld/NEWS13
1 files changed, 8 insertions, 5 deletions
diff --git a/ld/NEWS b/ld/NEWS
index 9078e20704..a10f222fd0 100644
--- a/ld/NEWS
+++ b/ld/NEWS
@@ -301,11 +301,14 @@ Changes in version 2.7:
Changes in version 2.6:
* When an ELF section name is representable as a C identifier (this is not true
- of most ELF section names), *and* the section is not explicitly handled by
- the linker script (ie it is an orphaned section) then the linker will
- automatically PROVIDE symbols __start_SECNAME and __stop_SECNAME, where
- SECNAME is the section name, at the beginning and the end of the section.
- This is used by glibc.
+of most ELF section names), the linker will automatically define symbols
+__start_SECNAME and __stop_SECNAME, where SECNAME is the section name, at the
+beginning and the end of the section. This is used by glibc.
+
+ Addendum: Current versions of the linker (at least for version 2.18 onwards
+and possibly much earlier as well) place two restrictions on this feature: The
+symbols are only implemented for orphaned sections, not for explicitly placed
+sections and they are PROVIDEd rather than being defined.
* When an ELF section named .gnu.warning is encountered in an input file, the
contents of the section are displayed as an error message, and the section is