aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-03-12 23:07:22 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-03-12 23:07:22 +0000
commitd17b874b6c14caa2f2ed1b5544a48de9f39a1a65 (patch)
tree641203b4d162a8bb1e9d0020985f5b04d7c4f39d /gas
parent0b25d3e680e7631033d5cce5dd4d797dbc0b039c (diff)
downloadgdb-d17b874b6c14caa2f2ed1b5544a48de9f39a1a65.zip
gdb-d17b874b6c14caa2f2ed1b5544a48de9f39a1a65.tar.gz
gdb-d17b874b6c14caa2f2ed1b5544a48de9f39a1a65.tar.bz2
* gas/mips/branch-misc-2.s: Add branch to symbol in another
section. * gas/mips/branch-misc-2.l: Update error messages and warnings.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/mips/branch-misc-2.l17
-rw-r--r--gas/testsuite/gas/mips/branch-misc-2.s4
3 files changed, 19 insertions, 8 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index b4f5dd4..a8925de 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,11 @@
2003-03-12 Alexandre Oliva <aoliva@redhat.com>
+ * gas/mips/branch-misc-2.s: Add branch to symbol in another
+ section.
+ * gas/mips/branch-misc-2.l: Update error messages and warnings.
+
+2003-03-12 Alexandre Oliva <aoliva@redhat.com>
+
* Reverted previous patch.
2003-03-02 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
diff --git a/gas/testsuite/gas/mips/branch-misc-2.l b/gas/testsuite/gas/mips/branch-misc-2.l
index a84068a..3ddc97a 100644
--- a/gas/testsuite/gas/mips/branch-misc-2.l
+++ b/gas/testsuite/gas/mips/branch-misc-2.l
@@ -1,9 +1,10 @@
.*: Assembler messages:
-.*:21: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
-.*:22: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
-.*:23: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
-.*:24: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
-.*:25: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
-.*:26: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
-.*:35: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
-.*:36: Error: Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file format
+.*:21: Warning: Pretending global symbol used as branch target is local.
+.*:22: Warning: Pretending global symbol used as branch target is local.
+.*:23: Warning: Pretending global symbol used as branch target is local.
+.*:24: Warning: Pretending global symbol used as branch target is local.
+.*:25: Warning: Pretending global symbol used as branch target is local.
+.*:26: Warning: Pretending global symbol used as branch target is local.
+.*:35: Error: Cannot branch to undefined symbol.
+.*:36: Error: Cannot branch to undefined symbol.
+.*:37: Error: Cannot branch to symbol in another section.
diff --git a/gas/testsuite/gas/mips/branch-misc-2.s b/gas/testsuite/gas/mips/branch-misc-2.s
index 8022e34..3167289 100644
--- a/gas/testsuite/gas/mips/branch-misc-2.s
+++ b/gas/testsuite/gas/mips/branch-misc-2.s
@@ -34,6 +34,10 @@ g6:
b x1
b x2
+ b .Ldata
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.space 8
+
+ .data
+.Ldata: