ELF: Add testcases for PR ld/23658
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 3 Oct 2018 21:11:43 +0000 (14:11 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 3 Oct 2018 21:11:53 +0000 (14:11 -0700)
commitfb9bbfd7f2d39a1d4850fcf0f63ef1f077f55e4b
treedfec84c7d8359a052808f5799d30d4b8266f10ad
parent34c0fc000f5202dc8f5feeb35d682913ee508230
ELF: Add testcases for PR ld/23658

Add testcases to verify that all SHT_NOTE sections with the same section
alignment are placed in a single PT_NOTE segment.

PR ld/23658
* testsuite/ld-elf/pr23658-1.d: New file.
* testsuite/ld-elf/pr23658-1a.s: Likewise.
* testsuite/ld-elf/pr23658-1b.s: Likewise.
* testsuite/ld-elf/pr23658-1c.s: Likewise.
* testsuite/ld-elf/pr23658-1d.s: Likewise.
* testsuite/ld-elf/pr23658-2.rd: Likewise.
* testsuite/ld-elf/pr23658-3.d: Likewise.
* testsuite/ld-elf/pr23658-3.s: Likewise.
* testsuite/ld-elf/pr23658-3.t: Likewise.
* testsuite/ld-elf/shared.exp: Run PR ld/23658 tests.
ld/ChangeLog
ld/testsuite/ld-elf/pr23658-1.d [new file with mode: 0644]
ld/testsuite/ld-elf/pr23658-1a.s [new file with mode: 0644]
ld/testsuite/ld-elf/pr23658-1b.s [new file with mode: 0644]
ld/testsuite/ld-elf/pr23658-1c.s [new file with mode: 0644]
ld/testsuite/ld-elf/pr23658-1d.s [new file with mode: 0644]
ld/testsuite/ld-elf/pr23658-2.rd [new file with mode: 0644]
ld/testsuite/ld-elf/pr23658-3.d [new file with mode: 0644]
ld/testsuite/ld-elf/pr23658-3.s [new file with mode: 0644]
ld/testsuite/ld-elf/pr23658-3.t [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp