binutils-gdb/ld/testsuite/ld-elf/pr30791b.d
H.J. Lu 12123021f1 elf: Adjust PR ld/30791 tests
Adjust PR ld/30791 tests:

1. Generic linker targets don't comply with all orhpan section merging
rules.
2. z80 fails since a, b, c, d are registers for z80.
3. hppa fails since .text sections aren't merged for relocatable link.

	PR ld/30791
	* testsuite/ld-elf/pr30791a.d: Xfail for generic and z80
	targets.
	* testsuite/ld-elf/pr30791b.d: Xfail for hppa and z80 targets.
2023-08-31 16:21:17 -07:00

15 lines
387 B
Makefile

#source: pr30791c.s
#source: pr30791d.s
#ld: -r
#readelf: -S --wide
#xfail: hppa-*-* z80-*-*
# hppa fails since .text sections aren't merged for relocatable link.
# z80 fails since a, b, c, d are registers for z80.
#failif
#...
\[[ 0-9]+\] __patchable_function_entries[ \t]+PROGBITS[ \t0-9a-f]+WAL.*
#...
\[[ 0-9]+\] __patchable_function_entries[ \t]+PROGBITS[ \t0-9a-f]+WAL.*
#...