diff options
author | Nick Clifton <nickc@redhat.com> | 2007-02-06 15:13:26 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-02-06 15:13:26 +0000 |
commit | 7b5030c061711ca87f39eaa5363937d9f4ededb7 (patch) | |
tree | 646d6525427acfc65fd47642c7ec472154c1d023 /gas/testsuite | |
parent | 63646b7a2483fe6db59ac21457c7187657482fd9 (diff) | |
download | gdb-7b5030c061711ca87f39eaa5363937d9f4ededb7.zip gdb-7b5030c061711ca87f39eaa5363937d9f4ededb7.tar.gz gdb-7b5030c061711ca87f39eaa5363937d9f4ededb7.tar.bz2 |
PR gas/3810 gas/3800
* gas/elf/elf.exp: Expect the redef test to fail on targets which do not
convert fixups against ordinary symbols into relocs against section symbols.
* gas/all/gas.exp: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/all/gas.exp | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/elf.exp | 5 |
3 files changed, 20 insertions, 2 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index b52d8e7..55418e4 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2007-02-06 Nick Clifton <nickc@redhat.com> + + PR gas/3810 gas/3800 + * gas/elf/elf.exp: Expect the redef test to fail on targets which + do not convert fixups against ordinary symbols into relocs against + section symbols. + * gas/all/gas.exp: Likewise. + 2007-02-05 Dave Brolley <brolley@redhat.com> * gas/mep/relocs-junk1.s: Add a .data section. diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index 397a0bb..e7f0179 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -83,13 +83,18 @@ case $target_triplet in { default { setup_xfail "*c30*-*-*" "*c4x*-*-*" "pdp11-*-*" run_dump_test redef + # The next two tests can fail if the target does not convert fixups + # against ordinary symbols into relocations against section symbols. + # This is usually revealed by the error message: + # symbol `sym' required but not present setup_xfail "*c30*-*-*" "*c4x*-*-*" "*arm*-*-*aout*" "*arm*-*-*coff" \ "*arm*-*-pe" "crx*-*-*" "h8300*-*-*" "m68hc*-*-*" "maxq-*-*" \ - "pdp11-*-*" "vax*-*-*" "z8k-*-*" + "mn10300-*-*" "pdp11-*-*" "vax*-*-*" "z8k-*-*" run_dump_test redef2 setup_xfail "*-*-aix*" "*-*-coff" "*-*-cygwin" "*-*-mingw*" "*-*-pe*" \ "bfin-*-*" "*c4x*-*-*" "crx*-*-*" "h8300*-*-*" "hppa*-*-hpux*" \ - "m68hc*-*-*" "maxq-*-*" "or32-*-*" "pdp11-*-*" "vax*-*-*" "z8k-*-*" + "m68hc*-*-*" "maxq-*-*" "mn10300-*-*" "or32-*-*" "pdp11-*-*" \ + "vax*-*-*" "z8k-*-*" run_dump_test redef3 setup_xfail "*c4x*-*-*" gas_test_error "redef4.s" "" ".set for symbol already used as label" diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp index 55cfa79..7f7365d 100644 --- a/gas/testsuite/gas/elf/elf.exp +++ b/gas/testsuite/gas/elf/elf.exp @@ -78,6 +78,11 @@ if { ([istarget "*-*-*elf*"] { mips*-*-* } { } { *c54x*-*-* } { } default { + # The next test can fail if the target does not convert fixups + # against ordinary symbols into relocations against section symbols. + # This is usually revealed by the error message: + # symbol `sym' required but not present + setup_xfail "h8300-*-*" "mn10300-*-*" run_dump_test redef run_dump_test equ-reloc } |