diff options
author | Nick Clifton <nickc@redhat.com> | 2009-01-29 09:03:13 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-01-29 09:03:13 +0000 |
commit | ec0c103cff45e1e96cc8c97c7989c1d8f6c53d72 (patch) | |
tree | 4ebd4ab8d2618f413c454720f89e691035e3b2c1 /ld/testsuite | |
parent | 4a6bc624b3e7401b22b60aaa28715e128c678d82 (diff) | |
download | gdb-ec0c103cff45e1e96cc8c97c7989c1d8f6c53d72.zip gdb-ec0c103cff45e1e96cc8c97c7989c1d8f6c53d72.tar.gz gdb-ec0c103cff45e1e96cc8c97c7989c1d8f6c53d72.tar.bz2 |
* config/tc-mep.h (DIFF_EXPR_OK): Do not define.
* gas/all/gas.exp: Expect forward test to fail for MeP.
Expect relax test to fail for MeP.
* gas/mep/relocs.d: Update expected disassembly.
* lib/ld-lib.exp (check_gc_sections_available): Add MeP to list of
targets which do not support garbage collection.
* ld-srec/srec.exp (run_srec_test): Expect tests to fail for MeP.
* ld-elf/group8a.d: Likewise.
* ld-elf/group8b.d: Likewise.
* ld-elf/group9a.d: Likewise.
* ld-elf/group9b.d: Likewise.
* binutils-all/objdump.W: Do not assume that high and low PC
addresses will have been computed.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 10 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/group8a.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/group8b.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/group9a.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/group9b.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/merge.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-srec/srec.exp | 7 | ||||
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 3 |
8 files changed, 21 insertions, 9 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 7b5f5b1..0fb021f 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2009-01-29 Nick Clifton <nickc@redhat.com> + + * lib/ld-lib.exp (check_gc_sections_available): Add MeP to list of + targets which do not support garbage collection. + * ld-srec/srec.exp (run_srec_test): Expect tests to fail for MeP. + * ld-elf/group8a.d: Likewise. + * ld-elf/group8b.d: Likewise. + * ld-elf/group9a.d: Likewise. + * ld-elf/group9b.d: Likewise. + 2009-01-27 Hans-Peter Nilsson <hp@axis.com> * ld-cris/tls-tbss64.s, ld-cris/tls-e-80.d: New test. diff --git a/ld/testsuite/ld-elf/group8a.d b/ld/testsuite/ld-elf/group8a.d index 1efd6f3..b557151 100644 --- a/ld/testsuite/ld-elf/group8a.d +++ b/ld/testsuite/ld-elf/group8a.d @@ -1,7 +1,7 @@ #source: group8.s #ld: -r --gc-sections --entry foo #readelf: -g --wide -#notarget: ia64-*-* +#notarget: ia64-*-* mep-*-* COMDAT group section \[[ 0-9]+\] `.group' \[foo\] contains 1 sections: \[Index\] Name diff --git a/ld/testsuite/ld-elf/group8b.d b/ld/testsuite/ld-elf/group8b.d index 95ea439..0a78173 100644 --- a/ld/testsuite/ld-elf/group8b.d +++ b/ld/testsuite/ld-elf/group8b.d @@ -1,7 +1,7 @@ #source: group8.s #ld: -r --gc-sections --entry bar #readelf: -g --wide -#notarget: ia64-*-* +#notarget: ia64-*-* mep-*-* COMDAT group section \[[ 0-9]+\] `.group' \[bar\] contains 1 sections: \[Index\] Name diff --git a/ld/testsuite/ld-elf/group9a.d b/ld/testsuite/ld-elf/group9a.d index 7f85100..a20e24f 100644 --- a/ld/testsuite/ld-elf/group9a.d +++ b/ld/testsuite/ld-elf/group9a.d @@ -1,7 +1,7 @@ #source: group9.s #ld: -r --gc-sections --entry foo #readelf: -g --wide -#notarget: ia64-*-* +#notarget: ia64-*-* mep-*-* COMDAT group section \[[ 0-9]+\] `.group' \[foo\] contains 2 sections: \[Index\] Name diff --git a/ld/testsuite/ld-elf/group9b.d b/ld/testsuite/ld-elf/group9b.d index 82ca062..a28d670 100644 --- a/ld/testsuite/ld-elf/group9b.d +++ b/ld/testsuite/ld-elf/group9b.d @@ -1,7 +1,7 @@ #source: group9.s #ld: -r --gc-sections --entry bar #readelf: -g --wide -#notarget: ia64-*-* +#notarget: ia64-*-* mep-*-* COMDAT group section \[[ 0-9]+\] `.group' \[foo\] contains 2 sections: \[Index\] Name diff --git a/ld/testsuite/ld-elf/merge.d b/ld/testsuite/ld-elf/merge.d index 83cb6d6..95e5d0e 100644 --- a/ld/testsuite/ld-elf/merge.d +++ b/ld/testsuite/ld-elf/merge.d @@ -4,7 +4,7 @@ #xfail: "arc-*-*" "avr-*-*" "bfin-*-*" "cris*-*-*" "crx-*-*" "d10v-*-*" "d30v-*-*" #xfail: "dlx-*-*" "fr30-*-*" "frv-*-*" "hppa*-*-*" "h8300-*-*" "score-*-*" #xfail: "i370-*-*" "i860-*-*" "i960-*-*" "ip2k-*-*" "iq2000-*-*" "lm32-*-*" -#xfail: "mcore-*-*" "mn102*-*-*" "mips*-*-*" "ms1-*-*" "msp430-*-*" +#xfail: "mcore-*-*" "mn102*-*-*" "mips*-*-*" "ms1-*-*" "msp430-*-*" "mep-*-*" #xfail: "or32-*-*" "pj-*-*" "sparc*-*-*" "vax-*-*" "xstormy16-*-*" "xtensa*-*-*" .*: file format .*elf.* diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp index 652ee6f..0641bce 100644 --- a/ld/testsuite/ld-srec/srec.exp +++ b/ld/testsuite/ld-srec/srec.exp @@ -1,6 +1,6 @@ # Test linking directly to S-records. # By Ian Lance Taylor, Cygnus Support. -# Copyright 1999, 2000, 2001, 2002, 2003, 2006, 2007 +# Copyright 1999, 2000, 2001, 2002, 2003, 2006, 2007, 2009 # Free Software Foundation, Inc. # # This file is part of the GNU Binutils. @@ -383,7 +383,8 @@ setup_xfail "alpha*-*-elf*" "alpha*-*-linux-*" "alpha*-*-gnu*" setup_xfail "alpha*-*-netbsd*" # The S-record linker hasn't any hope of coping with HPPA relocs. -setup_xfail "hppa*-*-*" +# Or MeP complex relocs. +setup_xfail "hppa*-*-*" "mep-*-*" # The S-record linker doesn't handle IA64 Elf relaxation. setup_xfail "ia64-*-*" @@ -420,7 +421,7 @@ setup_xfail "thumb-*-*" setup_xfail "v850*-*-elf" setup_xfail "alpha*-*-elf*" "alpha*-*-linux-*" "alpha*-*-gnu*" setup_xfail "alpha*-*-netbsd*" -setup_xfail "hppa*-*-*" +setup_xfail "hppa*-*-*" "mep-*-*" setup_xfail "ia64-*-*" setup_xfail "*-*-cygwin*" "*-*-mingw*" "*-*-pe*" "*-*-winnt*" setup_xfail "score-*-*" diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index b4f21fd..15ed41d 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -1,6 +1,6 @@ # Support routines for LD testsuite. # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, -# 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +# 2004, 2005, 2006, 2007, 2009 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -1591,6 +1591,7 @@ proc check_gc_sections_available { } { # Some targets don't support gc-sections despite whatever's # advertised by ld's options. if { [istarget alpha*-*-*] + || [istarget mep-*-*] || [istarget ia64-*-*] } { set gc_sections_available_saved 0 return 0 |