aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorChris Demetriou <cgd@google.com>2002-09-18 21:05:59 +0000
committerChris Demetriou <cgd@google.com>2002-09-18 21:05:59 +0000
commit65551fa46cc1ef69a04fe817c221c3949a56c139 (patch)
tree391556c7eca0f1654dc4ece13c920d2d61a87573 /gas/testsuite
parent2dc83527fbad2600adff4eb9fdcb0229117bc436 (diff)
downloadgdb-65551fa46cc1ef69a04fe817c221c3949a56c139.zip
gdb-65551fa46cc1ef69a04fe817c221c3949a56c139.tar.gz
gdb-65551fa46cc1ef69a04fe817c221c3949a56c139.tar.bz2
[ gas/ChangeLog ]
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.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/mips/baddata1.l3
-rw-r--r--gas/testsuite/gas/mips/baddata1.s9
3 files changed, 18 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index dd43eef..7ab5e58 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2002-09-12 Chris Demetriou <cgd@broadcom.com>
+
+ * gas/mips/baddata1.s: New file.
+ * gas/mips/baddata1.l: New file.
+ * gas/mips/mips.exp: Run new test.
+
2002-09-18 Chris Demetriou <cgd@broadcom.com>
* gas/mips/branch-misc-1.d: New file.
diff --git a/gas/testsuite/gas/mips/baddata1.l b/gas/testsuite/gas/mips/baddata1.l
new file mode 100644
index 0000000..6efafcb
--- /dev/null
+++ b/gas/testsuite/gas/mips/baddata1.l
@@ -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
index 0000000..0a90107
--- /dev/null
+++ b/gas/testsuite/gas/mips/baddata1.s
@@ -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