binutils/testsuite/
authorAlan Modra <amodra@gmail.com>
Thu, 16 Apr 2009 04:24:07 +0000 (04:24 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 16 Apr 2009 04:24:07 +0000 (04:24 +0000)
* 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.

13 files changed:
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/localize-hidden-1.s
binutils/testsuite/binutils-all/localize-hidden-2.s
gas/testsuite/ChangeLog
gas/testsuite/gas/all/gas.exp
gas/testsuite/gas/all/p2425.s
gas/testsuite/gas/all/weakref1.s
gas/testsuite/gas/hppa/parse/parse.exp
gas/testsuite/gas/macros/and.s
gas/testsuite/gas/macros/test1.s
ld/testsuite/ChangeLog
ld/testsuite/ld-libs/lib-1.s
ld/testsuite/ld-libs/lib-2.s

index 6b4641eb8a3a32e346a3e854983b016c48941aa1..838c600deb8ec55d702d15c6b320d556fd8dd6cc 100644 (file)
@@ -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
index bd32cb2799c35daee81faf13674b1cb310582704..cb9f367e5400e81ca5ba0021378d8f007d2811d4 100644 (file)
        .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
index 530592687310876779171ea7c35185f1710f4c72..443bad085f1493f251626180cb0626e0fbee085c 100644 (file)
@@ -1,2 +1,2 @@
        .globl  G
-       .set    G,0x100
+       G == 0x100
index bb40b4a9ea02bb74b95ac38000d49d77e62f43ef..66a68b90a133bc5268622daca12cc13c8fdf354c 100644 (file)
@@ -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.
index 32ca5b8d858a0ad7e4cfad6860d26caf5d370db4..b5f7f29236742cfb8168c24a51315985563c87ab 100644 (file)
@@ -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
index 1c9dc95852243b45590de3156f3eb93a0f3f7099..e02c6a1c2f8cff4931175efc92a8ed51fbd3464f 100644 (file)
@@ -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
index ce550d842a9eaf171faf4ca8538e800a5676738b..142b778f489038f95c519192d493dd9043e1003d 100644 (file)
@@ -189,7 +189,7 @@ l:
 /* d# target symbol definitions */
        .weakref Wld1, ld1
        .long Wld1
-       ld1 = l
+       ld1 == l
 
        .weakref Wld2, ld2
        .long Wld2
index 49f45081b471dc2cb289650528de8f9972c24085..e8bee4a9d2adb5b66a14d649b53280ed9e37335e 100644 (file)
@@ -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
index 23f7ffbae2867e50468e766dfcd44ec2c3089dc1..3ef58ba99f362d6bb01823eeb18cc7d5931d6758 100644 (file)
@@ -1,4 +1,4 @@
-       TFLAG_C = 1
+       TFLAG_C == 1
 
        .macro  check
        .if     (0 & TFLAG_C)
index b899a2ddb354b94ec721ff65eac14f302572f80b..8f1445d38a178fb2977b3a77cb40fb21e4e6c9e7 100644 (file)
@@ -1,6 +1,6 @@
        .macro  m arg1 arg2
        .globl  \arg1
-       \arg1 = \arg2
+       \arg1 == \arg2
        .endm
 
        m s_not_a_reg_1,1
index 7c79608d9c5ab19f238729807ccc90521ec3d96a..7718d840d952b948af406abf7c3c15af49f4296d 100644 (file)
@@ -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
index 7cc5e1d68c24ac9102f18811ff9996736fafa203..5ff67b12eccc2757da9f450ac91ad4b06da9633c 100644 (file)
@@ -1,2 +1,2 @@
        .globl  foo
-       .set    foo,0x2000
+       foo == 0x2000
index af749d38e0316b5dd20a0631628765b71d1d142e..b1544f34b1560151d7091983ee8e3e5942608aa7 100644 (file)
@@ -1,2 +1,2 @@
        .globl  bar
-       .set    bar,0x1000
+       bar == 0x1000