diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-10-08 04:39:09 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-10-08 04:39:21 -0700 |
commit | f3e660db14a0a95f3953496d8beb7c58ef34c6d5 (patch) | |
tree | df7402d14aa35bc2245827c6969bf1450d789be8 /ld/ChangeLog | |
parent | 64029e93683a266c38d19789e780f3748bd6a188 (diff) | |
download | gdb-f3e660db14a0a95f3953496d8beb7c58ef34c6d5.zip gdb-f3e660db14a0a95f3953496d8beb7c58ef34c6d5.tar.gz gdb-f3e660db14a0a95f3953496d8beb7c58ef34c6d5.tar.bz2 |
ELF: Properly group and place orphan note sections
Properly group orphan note sections. When placing orphan note section
as the first note section, place it after the section before all note
sections.
PR ld/23658
* ldlang.c (lang_insert_orphan): Properly group and place orphan
note sections. Properly handle orphan note section before all
note sections.
* testsuite/ld-elf/pr23658-1.d: Renamed to ...
* testsuite/ld-elf/pr23658-1a.d: This. Updated.
* testsuite/ld-elf/pr23658-1b.d: New test.
* testsuite/ld-elf/pr23658-1c.d: Likewise.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index e0a6f72..6c322c3 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,14 @@ +2018-10-08 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/23658 + * ldlang.c (lang_insert_orphan): Properly group and place orphan + note sections. Properly handle orphan note section before all + note sections. + * testsuite/ld-elf/pr23658-1.d: Renamed to ... + * testsuite/ld-elf/pr23658-1a.d: This. Updated. + * testsuite/ld-elf/pr23658-1b.d: New test. + * testsuite/ld-elf/pr23658-1c.d: Likewise. + 2018-10-08 Alan Modra <amodra@gmail.com> * ldexp.c (fold_name <SIZEOF_HEADERS>): Set link_info.load_phdrs. |