diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-08-06 21:28:45 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-08-06 21:28:45 +0000 |
commit | 99262e37efe7767e8d07aabdddf793dadc14c3ce (patch) | |
tree | bf3a7914e1979e21b64e31ed57e169f8dc2649dc /gas | |
parent | cde00cbbb9d9c3c9658b9a47194b883b9f10385d (diff) | |
download | gdb-99262e37efe7767e8d07aabdddf793dadc14c3ce.zip gdb-99262e37efe7767e8d07aabdddf793dadc14c3ce.tar.gz gdb-99262e37efe7767e8d07aabdddf793dadc14c3ce.tar.bz2 |
gas/testsuite/
* gas/mips/mips.exp: Set has_newabi for all Linux targets.
* gas/mips/cfi-n64-1.d: Adjust for targets that do not infer the
ISA from the ABI.
* gas/mips/elf-rel-got-n32.d: Likewise.
* gas/mips/elf-rel-got-n64.d: Likewise.
* gas/mips/elf-rel-xgot-n32.d: Likewise.
* gas/mips/elf-rel-xgot-n64.d: Likewise.
* gas/mips/elf-rel18.d: Likewise.
* gas/mips/elf-rel28-n32.d: Likewise.
* gas/mips/elf-rel28-n64.d: Likewise.
* gas/mips/jal-newabi.d: Likewise.
* gas/mips/ldstla-n64-shared.d: Likewise.
* gas/mips/ldstla-n64-sym32.d: Likewise.
* gas/mips/ldstla-n64.d: Likewise.
* gas/mips/macro-warn-1-n32.d: Likewise.
* gas/mips/macro-warn-2-n32.d: Likewise.
* gas/mips/n32-consec.d: Likewise.
ld/testsuite/
* ld-mips-elf/mips-elf.exp: Set has_newabi for all Linux targets.
Adjust abi_asflags for targets that do not infer the ISA from the
ABI.
* ld-mips-elf/eh-frame1-n32.d: Adjust for targets that do not
infer the ISA from the ABI.
* ld-mips-elf/eh-frame1-n64.d: Likewise.
* ld-mips-elf/eh-frame2-n32.d: Likewise.
* ld-mips-elf/eh-frame2-n64.d: Likewise.
* ld-mips-elf/elf-rel-got-n32-embed.d: Likewise.
* ld-mips-elf/elf-rel-got-n32.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-embed.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-got-n64.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
* ld-mips-elf/emit-relocs-1.d: Likewise.
* ld-mips-elf/got-page-2.d: Likewise.
* ld-mips-elf/no-shared-1-n32.d: Likewise.
* ld-mips-elf/no-shared-1-n64.d: Likewise.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.
* ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
* ld-mips-elf/relax-jalr-n32.d: Likewise.
* ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
* ld-mips-elf/relax-jalr-n64.d: Likewise.
* ld-mips-elf/reloc-1-n32.d: Likewise.
* ld-mips-elf/reloc-1-n64.d: Likewise.
* ld-mips-elf/textrel-1.d: Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 20 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/cfi-n64-1.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/elf-rel-got-n32.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/elf-rel-got-n64.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/elf-rel-xgot-n32.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/elf-rel-xgot-n64.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/elf-rel18.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/elf-rel28-n32.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/elf-rel28-n64.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/jal-newabi.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/ldstla-n64-shared.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/ldstla-n64-sym32.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/ldstla-n64.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/macro-warn-1-n32.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/macro-warn-2-n32.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips.exp | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/n32-consec.d | 2 |
17 files changed, 36 insertions, 16 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index d279b2e..80c03cf 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,25 @@ 2012-08-06 Maciej W. Rozycki <macro@codesourcery.com> + * gas/mips/mips.exp: Set has_newabi for all Linux targets. + * gas/mips/cfi-n64-1.d: Adjust for targets that do not infer the + ISA from the ABI. + * gas/mips/elf-rel-got-n32.d: Likewise. + * gas/mips/elf-rel-got-n64.d: Likewise. + * gas/mips/elf-rel-xgot-n32.d: Likewise. + * gas/mips/elf-rel-xgot-n64.d: Likewise. + * gas/mips/elf-rel18.d: Likewise. + * gas/mips/elf-rel28-n32.d: Likewise. + * gas/mips/elf-rel28-n64.d: Likewise. + * gas/mips/jal-newabi.d: Likewise. + * gas/mips/ldstla-n64-shared.d: Likewise. + * gas/mips/ldstla-n64-sym32.d: Likewise. + * gas/mips/ldstla-n64.d: Likewise. + * gas/mips/macro-warn-1-n32.d: Likewise. + * gas/mips/macro-warn-2-n32.d: Likewise. + * gas/mips/n32-consec.d: Likewise. + +2012-08-06 Maciej W. Rozycki <macro@codesourcery.com> + * gas/mips/mips.exp: Set has_newabi for mips*-sde-elf* too. * gas/mips/elf-rel-got-n32.s: Adjust padding. * gas/mips/elf-rel-got-n64.s: Likewise. diff --git a/gas/testsuite/gas/mips/cfi-n64-1.d b/gas/testsuite/gas/mips/cfi-n64-1.d index 808b3da..29d58ff 100644 --- a/gas/testsuite/gas/mips/cfi-n64-1.d +++ b/gas/testsuite/gas/mips/cfi-n64-1.d @@ -1,4 +1,4 @@ -#as: -64 -EB +#as: -march=from-abi -64 -EB #objdump: -sj.eh_frame .* diff --git a/gas/testsuite/gas/mips/elf-rel-got-n32.d b/gas/testsuite/gas/mips/elf-rel-got-n32.d index 41c2c3e..4558444 100644 --- a/gas/testsuite/gas/mips/elf-rel-got-n32.d +++ b/gas/testsuite/gas/mips/elf-rel-got-n32.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses --show-raw-insn #name: MIPS ELF got reloc n32 -#as: -n32 -KPIC +#as: -march=from-abi -n32 -KPIC .*: +file format elf32-n.*mips.* diff --git a/gas/testsuite/gas/mips/elf-rel-got-n64.d b/gas/testsuite/gas/mips/elf-rel-got-n64.d index 9b971c0..0a6c7e4 100644 --- a/gas/testsuite/gas/mips/elf-rel-got-n64.d +++ b/gas/testsuite/gas/mips/elf-rel-got-n64.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses --show-raw-insn #name: MIPS ELF got reloc n64 -#as: -64 -KPIC +#as: -march=from-abi -64 -KPIC .*: +file format elf64-.*mips.* diff --git a/gas/testsuite/gas/mips/elf-rel-xgot-n32.d b/gas/testsuite/gas/mips/elf-rel-xgot-n32.d index b40e802..cec8fc4 100644 --- a/gas/testsuite/gas/mips/elf-rel-xgot-n32.d +++ b/gas/testsuite/gas/mips/elf-rel-xgot-n32.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses --show-raw-insn #name: MIPS ELF xgot reloc n32 -#as: -n32 -KPIC -xgot +#as: -march=from-abi -n32 -KPIC -xgot #source: elf-rel-got-n32.s .*: +file format elf32-n.*mips.* diff --git a/gas/testsuite/gas/mips/elf-rel-xgot-n64.d b/gas/testsuite/gas/mips/elf-rel-xgot-n64.d index fd98c9c..9c4ecd3 100644 --- a/gas/testsuite/gas/mips/elf-rel-xgot-n64.d +++ b/gas/testsuite/gas/mips/elf-rel-xgot-n64.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses --show-raw-insn #name: MIPS ELF xgot reloc n64 -#as: -64 -KPIC -xgot +#as: -march=from-abi -64 -KPIC -xgot #source: elf-rel-got-n64.s .*: +file format elf64-.*mips.* diff --git a/gas/testsuite/gas/mips/elf-rel18.d b/gas/testsuite/gas/mips/elf-rel18.d index fa467a4..87b9d92 100644 --- a/gas/testsuite/gas/mips/elf-rel18.d +++ b/gas/testsuite/gas/mips/elf-rel18.d @@ -1,5 +1,5 @@ #readelf: --relocs -#as: -mabi=n32 -KPIC +#as: -march=from-abi -mabi=n32 -KPIC Relocation section '\.rela\.text' at offset .* contains 4 entries: Offset Info Type Sym.Value Sym. Name \+ Addend diff --git a/gas/testsuite/gas/mips/elf-rel28-n32.d b/gas/testsuite/gas/mips/elf-rel28-n32.d index dbca20b..b8ac520 100644 --- a/gas/testsuite/gas/mips/elf-rel28-n32.d +++ b/gas/testsuite/gas/mips/elf-rel28-n32.d @@ -1,5 +1,5 @@ #source: elf-rel28.s -#as: -n32 +#as: -march=from-abi -n32 #objdump: -dr #name: MIPS ELF reloc 28 (n32) diff --git a/gas/testsuite/gas/mips/elf-rel28-n64.d b/gas/testsuite/gas/mips/elf-rel28-n64.d index be38e7d..dd647ed 100644 --- a/gas/testsuite/gas/mips/elf-rel28-n64.d +++ b/gas/testsuite/gas/mips/elf-rel28-n64.d @@ -1,5 +1,5 @@ #source: elf-rel28.s -#as: -64 +#as: -march=from-abi -64 #objdump: -dr #name: MIPS ELF reloc 28 (n64) diff --git a/gas/testsuite/gas/mips/jal-newabi.d b/gas/testsuite/gas/mips/jal-newabi.d index 77a0b2b..c49abc4 100644 --- a/gas/testsuite/gas/mips/jal-newabi.d +++ b/gas/testsuite/gas/mips/jal-newabi.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses --show-raw-insn #name: MIPS ELF NewABI jal -#as: -n32 -KPIC -xgot +#as: -march=from-abi -n32 -KPIC -xgot .*: +file format elf32-n.*mips.* diff --git a/gas/testsuite/gas/mips/ldstla-n64-shared.d b/gas/testsuite/gas/mips/ldstla-n64-shared.d index ede34a5..43ec0fd 100644 --- a/gas/testsuite/gas/mips/ldstla-n64-shared.d +++ b/gas/testsuite/gas/mips/ldstla-n64-shared.d @@ -1,5 +1,5 @@ #objdump: -d -#as: -KPIC -64 +#as: -march=from-abi -KPIC -64 #name: MIPS ld-st-la constants (ABI n64, shared) #source: ldstla-n64.s diff --git a/gas/testsuite/gas/mips/ldstla-n64-sym32.d b/gas/testsuite/gas/mips/ldstla-n64-sym32.d index 066d749..3f547db 100644 --- a/gas/testsuite/gas/mips/ldstla-n64-sym32.d +++ b/gas/testsuite/gas/mips/ldstla-n64-sym32.d @@ -1,5 +1,5 @@ #objdump: -dr -#as: -64 -msym32 -G8 -EB +#as: -march=from-abi -64 -msym32 -G8 -EB #name: MIPS ld-st-la with sym32 #source: ldstla-sym32.s diff --git a/gas/testsuite/gas/mips/ldstla-n64.d b/gas/testsuite/gas/mips/ldstla-n64.d index dd028fc..99c9033 100644 --- a/gas/testsuite/gas/mips/ldstla-n64.d +++ b/gas/testsuite/gas/mips/ldstla-n64.d @@ -1,5 +1,5 @@ #objdump: -d -#as: -64 +#as: -march=from-abi -64 #name: MIPS ld-st-la constants (ABI n64) #source: ldstla-n64.s diff --git a/gas/testsuite/gas/mips/macro-warn-1-n32.d b/gas/testsuite/gas/mips/macro-warn-1-n32.d index 08ea8d8..60c10d1 100644 --- a/gas/testsuite/gas/mips/macro-warn-1-n32.d +++ b/gas/testsuite/gas/mips/macro-warn-1-n32.d @@ -1,4 +1,4 @@ -#as: -n32 -KPIC +#as: -march=from-abi -n32 -KPIC #source: macro-warn-1.s #stderr: macro-warn-1-n32.l #objdump: -p diff --git a/gas/testsuite/gas/mips/macro-warn-2-n32.d b/gas/testsuite/gas/mips/macro-warn-2-n32.d index 7a8c206..49454d0 100644 --- a/gas/testsuite/gas/mips/macro-warn-2-n32.d +++ b/gas/testsuite/gas/mips/macro-warn-2-n32.d @@ -1,4 +1,4 @@ -#as: -n32 -KPIC +#as: -march=from-abi -n32 -KPIC #source: macro-warn-2.s #objdump: -p #pass diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index f2b585c..1cc4b6f 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -458,7 +458,7 @@ if { [istarget mips*-*-vxworks*] } { set ecoff [expr [istarget *-*-ecoff*] || [istarget *-*-ultrix*] || [istarget *-*-irix\[1-4\]*] ] set aout [expr [istarget *-*-bsd*] || [istarget *-*-openbsd*] ] set addr32 [expr [istarget mipstx39*-*-*] || [istarget mips-*-linux*] || [istarget mipsel-*-linux*] || [istarget mips*-*-ecoff]] - set has_newabi [expr [istarget *-*-irix6*] || [istarget mips64*-*-linux*] || [istarget mips*-sde-elf*]] + set has_newabi [expr [istarget *-*-irix6*] || [istarget mips*-*-linux*] || [istarget mips*-sde-elf*]] set no_mips16 [expr !$elf] set no_micromips [expr !$elf] diff --git a/gas/testsuite/gas/mips/n32-consec.d b/gas/testsuite/gas/mips/n32-consec.d index 355d92e..806857e 100644 --- a/gas/testsuite/gas/mips/n32-consec.d +++ b/gas/testsuite/gas/mips/n32-consec.d @@ -1,4 +1,4 @@ -#as: -n32 +#as: -march=from-abi -n32 #objdump: -Dr --prefix-addresses #name: n32 consecutive unrelated relocations |