Fix SHF_GNU_RETAIN testsuite fallout
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Fri, 20 Nov 2020 10:31:07 +0000 (10:31 +0000)
committerJozef Lawrynowicz <jozef.l@mittosystems.com>
Fri, 20 Nov 2020 10:33:28 +0000 (10:33 +0000)
commitcc6fd584ed920b14d57703bb62c9ed773cea3732
tree4b8865c327f3662bfc86a6fca66c1b5c0b009020
parentf58a189583b907340fa878d2961adec8548bb808
Fix SHF_GNU_RETAIN testsuite fallout

binutils/ChangeLog:

* testsuite/binutils-all/readelf-maskos-1a.d: Fix test for unrecognized
bit set in SHF_MASKOS range.
* testsuite/binutils-all/readelf-maskos-1b.d: Likewise.
* testsuite/binutils-all/readelf-maskos-unknown.s: New test.

ld/ChangeLog:

* testsuite/ld-elf/retain3.s: Move symbolic reference into writeable
.data section from read-only .text section.
* testsuite/ld-elf/retain5.d: Don't pass --print-gc-sections for test
that doesn't require it.
* testsuite/ld-elf/retain6a.d: Adjust test.
* testsuite/ld-elf/retain6main.s: Move symbolic reference into writeable
.data section from read-only .text section.
binutils/ChangeLog
binutils/testsuite/binutils-all/readelf-maskos-1a.d
binutils/testsuite/binutils-all/readelf-maskos-1b.d
binutils/testsuite/binutils-all/readelf-maskos-unknown.s [new file with mode: 0644]
ld/ChangeLog
ld/testsuite/ld-elf/retain3.s
ld/testsuite/ld-elf/retain5.d
ld/testsuite/ld-elf/retain6a.d
ld/testsuite/ld-elf/retain6main.s