aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-04-16 04:24:07 +0000
committerAlan Modra <amodra@gmail.com>2009-04-16 04:24:07 +0000
commit3f904b169712db815150b4d032ca2bfff79b2b4a (patch)
treeb5fb6d447a4a237821b3f9ad98cd9d41adeca3a7
parent015f3842665e1360df4a440b953e2fba4bba03d5 (diff)
downloadgdb-3f904b169712db815150b4d032ca2bfff79b2b4a.zip
gdb-3f904b169712db815150b4d032ca2bfff79b2b4a.tar.gz
gdb-3f904b169712db815150b4d032ca2bfff79b2b4a.tar.bz2
binutils/testsuite/
* binutils-all/localize-hidden-1.s: Use "==" instead of ".set". * binutils-all/localize-hidden-2.s: Likewise. gas/testsuite/ * gas/all/gas.exp: Disable assign and assign-ok tests on blackfin. * gas/all/p2425.s: Use "==" instead of "=". * gas/all/weakref1.s: Likewise. * gas/macros/and.s: Likewise. * gas/macros/test1.s: Likewise. * gas/hppa/parse/parse.exp: Remove xfail on block1. ld/testsuite/ * ld-libs/lib-1.s: Use "==" instead of ".set". * ld-libs/lib-2.s: Likewise. * ld-scripts/defined.s: Likewise.
-rw-r--r--binutils/testsuite/ChangeLog5
-rw-r--r--binutils/testsuite/binutils-all/localize-hidden-1.s24
-rw-r--r--binutils/testsuite/binutils-all/localize-hidden-2.s2
-rw-r--r--gas/testsuite/ChangeLog9
-rw-r--r--gas/testsuite/gas/all/gas.exp8
-rw-r--r--gas/testsuite/gas/all/p2425.s4
-rw-r--r--gas/testsuite/gas/all/weakref1.s2
-rw-r--r--gas/testsuite/gas/hppa/parse/parse.exp2
-rw-r--r--gas/testsuite/gas/macros/and.s2
-rw-r--r--gas/testsuite/gas/macros/test1.s2
-rw-r--r--ld/testsuite/ChangeLog6
-rw-r--r--ld/testsuite/ld-libs/lib-1.s2
-rw-r--r--ld/testsuite/ld-libs/lib-2.s2
13 files changed, 46 insertions, 24 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 6b4641e..838c600 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-16 Alan Modra <amodra@bigpond.net.au>
+
+ * binutils-all/localize-hidden-1.s: Use "==" instead of ".set".
+ * binutils-all/localize-hidden-2.s: Likewise.
+
2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
* inutils-all/objcopy.exp (strip_executable): Delete remote dest
diff --git a/binutils/testsuite/binutils-all/localize-hidden-1.s b/binutils/testsuite/binutils-all/localize-hidden-1.s
index bd32cb2..cb9f367 100644
--- a/binutils/testsuite/binutils-all/localize-hidden-1.s
+++ b/binutils/testsuite/binutils-all/localize-hidden-1.s
@@ -20,17 +20,17 @@
.protected Gprotected
.protected Wprotected
- .set Ldefault, 0x1100
- .set Lhidden, 0x1200
- .set Linternal, 0x1300
- .set Lprotected, 0x1400
+ Ldefault == 0x1100
+ Lhidden == 0x1200
+ Linternal == 0x1300
+ Lprotected == 0x1400
- .set Gdefault, 0x2100
- .set Ghidden, 0x2200
- .set Ginternal, 0x2300
- .set Gprotected, 0x2400
+ Gdefault == 0x2100
+ Ghidden == 0x2200
+ Ginternal == 0x2300
+ Gprotected == 0x2400
- .set Wdefault, 0x3100
- .set Whidden, 0x3200
- .set Winternal, 0x3300
- .set Wprotected, 0x3400
+ Wdefault == 0x3100
+ Whidden == 0x3200
+ Winternal == 0x3300
+ Wprotected == 0x3400
diff --git a/binutils/testsuite/binutils-all/localize-hidden-2.s b/binutils/testsuite/binutils-all/localize-hidden-2.s
index 5305926..443bad0 100644
--- a/binutils/testsuite/binutils-all/localize-hidden-2.s
+++ b/binutils/testsuite/binutils-all/localize-hidden-2.s
@@ -1,2 +1,2 @@
.globl G
- .set G,0x100
+ G == 0x100
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index bb40b4a..66a68b9 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,12 @@
+2009-04-16 Alan Modra <amodra@bigpond.net.au>
+
+ * gas/all/gas.exp: Disable assign and assign-ok tests on blackfin.
+ * gas/all/p2425.s: Use "==" instead of "=".
+ * gas/all/weakref1.s: Likewise.
+ * gas/macros/and.s: Likewise.
+ * gas/macros/test1.s: Likewise.
+ * gas/hppa/parse/parse.exp: Remove xfail on block1.
+
2009-04-15 Jan Beulich <jbeulich@novell.com>
* gas/i386/intel.e: Adjust expectations.
diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp
index 32ca5b8..b5f7f29 100644
--- a/gas/testsuite/gas/all/gas.exp
+++ b/gas/testsuite/gas/all/gas.exp
@@ -59,7 +59,9 @@ case $target_triplet in {
gas_test "eqv-ok.s" "" "" ".eqv support"
gas_test_error "eqv-bad.s" "" ".eqv for symbol already set"
-gas_test "assign-ok.s" "" "" "== assignment support"
+if { ![istarget "bfin-*-*"] } then {
+ gas_test "assign-ok.s" "" "" "== assignment support"
+}
gas_test_error "assign-bad.s" "" "== assignment for symbol already set"
# .equ works differently on some targets.
@@ -305,7 +307,9 @@ if { ([istarget "i*86-*-*pe*"] && ![istarget "i*86-*-openbsd*"]) \
gas_test "fastcall.s" "" "" "fastcall labels"
}
-run_dump_test assign
+if { ![istarget "bfin-*-*"] } then {
+ run_dump_test assign
+}
run_dump_test sleb128
# .byte is 32 bits on tic4x, and .p2align isn't supported on tic54x
diff --git a/gas/testsuite/gas/all/p2425.s b/gas/testsuite/gas/all/p2425.s
index 1c9dc95..e02c6a1 100644
--- a/gas/testsuite/gas/all/p2425.s
+++ b/gas/testsuite/gas/all/p2425.s
@@ -2,5 +2,5 @@
.globl _frobnitz
_frobnitz:
.long 1, 2, 3, 4, 5, 6, 7, GRUMP, 42
- GRUMP=.-_frobnitz
- HALFGRUMP=GRUMP/2
+ GRUMP==.-_frobnitz
+ HALFGRUMP==GRUMP/2
diff --git a/gas/testsuite/gas/all/weakref1.s b/gas/testsuite/gas/all/weakref1.s
index ce550d8..142b778 100644
--- a/gas/testsuite/gas/all/weakref1.s
+++ b/gas/testsuite/gas/all/weakref1.s
@@ -189,7 +189,7 @@ l:
/* d# target symbol definitions */
.weakref Wld1, ld1
.long Wld1
- ld1 = l
+ ld1 == l
.weakref Wld2, ld2
.long Wld2
diff --git a/gas/testsuite/gas/hppa/parse/parse.exp b/gas/testsuite/gas/hppa/parse/parse.exp
index 49f4508..e8bee4a 100644
--- a/gas/testsuite/gas/hppa/parse/parse.exp
+++ b/gas/testsuite/gas/hppa/parse/parse.exp
@@ -179,8 +179,6 @@ if [istarget hppa*-*-*] then {
# Now check to make sure an invalid argument is flagged as an error.
gas_test_error "align2.s" "" "Check for error on bogus argument to .align"
- # GAS can't handle upper bound for a PA .block[z] directive
- setup_xfail hppa*-*-*
gas_test "block1.s" "" "" "Check min/max values for .block"
# Now check for an invalid argument
diff --git a/gas/testsuite/gas/macros/and.s b/gas/testsuite/gas/macros/and.s
index 23f7ffb..3ef58ba 100644
--- a/gas/testsuite/gas/macros/and.s
+++ b/gas/testsuite/gas/macros/and.s
@@ -1,4 +1,4 @@
- TFLAG_C = 1
+ TFLAG_C == 1
.macro check
.if (0 & TFLAG_C)
diff --git a/gas/testsuite/gas/macros/test1.s b/gas/testsuite/gas/macros/test1.s
index b899a2d..8f1445d 100644
--- a/gas/testsuite/gas/macros/test1.s
+++ b/gas/testsuite/gas/macros/test1.s
@@ -1,6 +1,6 @@
.macro m arg1 arg2
.globl \arg1
- \arg1 = \arg2
+ \arg1 == \arg2
.endm
m s_not_a_reg_1,1
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 7c79608..7718d84 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2009-04-16 Alan Modra <amodra@bigpond.net.au>
+
+ * ld-libs/lib-1.s: Use "==" instead of ".set".
+ * ld-libs/lib-2.s: Likewise.
+ * ld-scripts/defined.s: Likewise.
+
2009-04-15 Christophe Lyon <christophe.lyon@st.com>
* ld-arm/arm-elf.exp: Add 1 more test to check undef weak
diff --git a/ld/testsuite/ld-libs/lib-1.s b/ld/testsuite/ld-libs/lib-1.s
index 7cc5e1d..5ff67b1 100644
--- a/ld/testsuite/ld-libs/lib-1.s
+++ b/ld/testsuite/ld-libs/lib-1.s
@@ -1,2 +1,2 @@
.globl foo
- .set foo,0x2000
+ foo == 0x2000
diff --git a/ld/testsuite/ld-libs/lib-2.s b/ld/testsuite/ld-libs/lib-2.s
index af749d3..b1544f3 100644
--- a/ld/testsuite/ld-libs/lib-2.s
+++ b/ld/testsuite/ld-libs/lib-2.s
@@ -1,2 +1,2 @@
.globl bar
- .set bar,0x1000
+ bar == 0x1000