OSDN Git Service

[ gas/ChangeLog ]
authorChris Demetriou <cgd@broadcom.com>
Wed, 18 Sep 2002 21:45:29 +0000 (21:45 +0000)
committerChris Demetriou <cgd@broadcom.com>
Wed, 18 Sep 2002 21:45:29 +0000 (21:45 +0000)
2002-09-18  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8.

[ gas/testsuite/ChangeLog ]
2002-09-18  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/baddata1.s: New file.
        * gas/mips/baddata1.l: New file.
        * gas/mips/mips.exp: Run new test.

gas/testsuite/gas/mips/baddata1.l [new file with mode: 0644]
gas/testsuite/gas/mips/baddata1.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp

diff --git a/gas/testsuite/gas/mips/baddata1.l b/gas/testsuite/gas/mips/baddata1.l
new file mode 100644 (file)
index 0000000..6efafcb
--- /dev/null
@@ -0,0 +1,3 @@
+.*: Assembler messages:
+.*:8: Error: Can not represent BFD_RELOC_8 relocation in this object file format
+.*:9: Error: Can not represent BFD_RELOC_8 relocation in this object file format
diff --git a/gas/testsuite/gas/mips/baddata1.s b/gas/testsuite/gas/mips/baddata1.s
new file mode 100644 (file)
index 0000000..0a90107
--- /dev/null
@@ -0,0 +1,9 @@
+# Source file used to some bad data declarations.
+
+       .globl x
+
+       .data
+foo:
+       # no way these are going to hold the pointers.
+       .byte   x
+       .byte   x+1
index d23390d..7a05ee6 100644 (file)
@@ -162,6 +162,7 @@ if { [istarget mips*-*-*] } then {
     run_dump_test "relax"
 
     run_list_test "illegal" ""
+    run_list_test "baddata1" ""
 
     # LOSE: As of 2002-02-08, the next 4 tests fail for target mips-ecoff.
     # It's unknown whether they _should_ pass as-is, or whether different