ELF: Properly group and place orphan note sections
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 8 Oct 2018 11:39:09 +0000 (04:39 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 8 Oct 2018 11:39:21 +0000 (04:39 -0700)
commitf3e660db14a0a95f3953496d8beb7c58ef34c6d5
treedf7402d14aa35bc2245827c6969bf1450d789be8
parent64029e93683a266c38d19789e780f3748bd6a188
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.
ld/ChangeLog
ld/ldlang.c
ld/testsuite/ld-elf/pr23658-1.d [deleted file]
ld/testsuite/ld-elf/pr23658-1a.d [new file with mode: 0644]
ld/testsuite/ld-elf/pr23658-1b.d [new file with mode: 0644]
ld/testsuite/ld-elf/pr23658-1c.d [new file with mode: 0644]
This page took 0.050348 seconds and 4 git commands to generate.