]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld-elf/shared libpr23161c and pr23161c tests
authorAlan Modra <amodra@gmail.com>
Thu, 31 Jul 2025 12:10:12 +0000 (21:40 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 1 Aug 2025 01:16:26 +0000 (10:46 +0930)
commitce6a13a42fb3191debdc1d01c13e979beb6714aa
tree2d14c207797b0045b4c4ec91497bc4193cdeb3ee
parent32b42067970502c02f145b95fd43dd03c805aaea
ld-elf/shared libpr23161c and pr23161c tests

If I understand these tests correctly it is to ensure that _end,
_edata and __bss_start are not made dynamic.  The dynamic reloc tests
are not really necessary.  (We dropped them from pr23161a and pr23161b
tests a while ago without removing the -r from readelf invocation.)
Dropping the reloc tests allows them to run for more targets.

* testsuite/ld-elf/pr23161c.rd: Rewrite.
* testsuite/ld-elf/pr23161d.rd: Delete.
* testsuite/ld-elf/shared.exp (pr23161a, pr23161b): Remove -r
from readelf check.
(libpr23161c.so, pr23161c): Likewise, and check expected readelf
output using the new pr23161c.rd.
ld/testsuite/ld-elf/pr23161c.rd
ld/testsuite/ld-elf/pr23161d.rd [deleted file]
ld/testsuite/ld-elf/shared.exp