diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2023-08-31 08:38:10 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2023-08-31 16:21:17 -0700 |
commit | 12123021f11c2d4b0b827e18a10498494046dd65 (patch) | |
tree | 3ec57a76ec436156163d179aaac5292269a1c809 /ld | |
parent | 911e1e795e2496e1a5315601ab89e56afcd10fb0 (diff) | |
download | gdb-12123021f11c2d4b0b827e18a10498494046dd65.zip gdb-12123021f11c2d4b0b827e18a10498494046dd65.tar.gz gdb-12123021f11c2d4b0b827e18a10498494046dd65.tar.bz2 |
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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ld-elf/pr30791a.d | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr30791b.d | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr30791a.d b/ld/testsuite/ld-elf/pr30791a.d index 2446b52..a699f2a 100644 --- a/ld/testsuite/ld-elf/pr30791a.d +++ b/ld/testsuite/ld-elf/pr30791a.d @@ -2,6 +2,10 @@ #source: pr30791b.s #ld: -r #readelf: -S --wide +#xfail: [is_generic] fr30-*-* frv-*-elf ft32-*-* iq2000-*-* mn10200-*-* +#xfail: msp430-* mt-*-* z80-*-* +# Generic linker targets don't comply with all orhpan section merging +# rules. z80 fails since a, b, c, d are registers for z80. #... Section Headers: diff --git a/ld/testsuite/ld-elf/pr30791b.d b/ld/testsuite/ld-elf/pr30791b.d index 5013c24..bb8e19e 100644 --- a/ld/testsuite/ld-elf/pr30791b.d +++ b/ld/testsuite/ld-elf/pr30791b.d @@ -2,6 +2,9 @@ #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 #... |