diff options
author | Alan Modra <amodra@gmail.com> | 2017-06-18 09:19:34 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-06-18 11:56:19 +0930 |
commit | bdd32e03c5e87bd38e63e9cc3fd35375241db58f (patch) | |
tree | 814e2bc82a15590c266720e7b58ccef5ed94714b /ld/testsuite/ld-elf/pr21562n.d | |
parent | 99149362b110c0b243eecff05cdbda0d7260b412 (diff) | |
download | gdb-bdd32e03c5e87bd38e63e9cc3fd35375241db58f.zip gdb-bdd32e03c5e87bd38e63e9cc3fd35375241db58f.tar.gz gdb-bdd32e03c5e87bd38e63e9cc3fd35375241db58f.tar.bz2 |
is_underscore_target for ld-elf tests
and correct targ_underscore in config.bfd
bfd/
* config.bfd: Correct targ_underscore for epiphany, ip2k,
m32c, mn10200, pru, rl78, rx, crisv32 and v850.
ld/
* testsuite/lib/ld-lib.exp (is_underscore_target): New.
* testsuite/ld-elf/elf.exp (ASFLAGS): Define UNDERSCORE.
* testsuite/ld-elf/pr21562a.s: If UNDERSCORE defined,
reference sym with prefix.
* testsuite/ld-elf/pr21562b.s: Likewise.
* testsuite/ld-elf/sizeof.s: Likewise.
* testsuite/ld-elf/startof.s: Likewise.
* testsuite/ld-elf/pr14156a.d: Adjust for extra symbols.
* testsuite/ld-elf/pr21562a.d: Remove underscore target from
xfails, and match prefixed symbol.
* testsuite/ld-elf/pr21562b.d: Likewise.
* testsuite/ld-elf/pr21562c.d: Likewise.
* testsuite/ld-elf/pr21562d.d: Likewise.
* testsuite/ld-elf/pr21562e.d: Likewise.
* testsuite/ld-elf/pr21562f.d: Likewise.
* testsuite/ld-elf/pr21562g.d: Likewise.
* testsuite/ld-elf/pr21562h.d: Likewise.
* testsuite/ld-elf/pr21562i.d: Likewise.
* testsuite/ld-elf/pr21562j.d: Likewise.
* testsuite/ld-elf/pr21562k.d: Likewise.
* testsuite/ld-elf/pr21562l.d: Likewise.
* testsuite/ld-elf/pr21562m.d: Likewise.
* testsuite/ld-elf/pr21562n.d: Likewise.
* testsuite/ld-elf/sizeofa.d: Likewise.
* testsuite/ld-elf/sizeofb.d: Likewise.
* testsuite/ld-elf/sizeofc.d: Likewise.
* testsuite/ld-elf/startofa.d: Likewise.
* testsuite/ld-elf/startofb.d: Likewise.
* testsuite/ld-elf/startofc.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/pr21562n.d')
-rw-r--r-- | ld/testsuite/ld-elf/pr21562n.d | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ld/testsuite/ld-elf/pr21562n.d b/ld/testsuite/ld-elf/pr21562n.d index f12b23d..2453169 100644 --- a/ld/testsuite/ld-elf/pr21562n.d +++ b/ld/testsuite/ld-elf/pr21562n.d @@ -4,14 +4,10 @@ #target: *-*-linux* *-*-gnu* #xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-* #xfail: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* -#xfail: bfin-*-* cr16-*-* cr16c-*-* crx-*-* epiphany-*-* -#xfail: h8300-*-* ip2k-*-* mn10200-*-* mn10300-*-* m32c-*-* metag-*-* -#xfail: rl78-*-* rx-*-* v850*-*-* -# Targets with a leading char will fail this test. # generic linker targets don't support --gc-sections, nor do a bunch of others #... \[[ 0-9]+\] \.foo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.* #... - +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +NOTYPE +LOCAL +DEFAULT +[0-9]+ +__stop_scnfoo + +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +NOTYPE +LOCAL +DEFAULT +[0-9]+ +___?stop_scnfoo #pass |