aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/mips/lineno.d13
2 files changed, 15 insertions, 5 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index b68bd0e..5ec57a9 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2001-03-27 Chris Demetriou <cgd@broadcom.com>
+
+ * gas/mips/lineno.d: Allow for the possibility that
+ the local labels won't be in the objdump output. Match
+ zeros in addresses using '+' for better compatibility with
+ different targets.
+
2001-03-26 Chris Demetriou <cgd@broadcom.com>
* gas/mips/sync.s: Declare 'foo' as a function so that this
diff --git a/gas/testsuite/gas/mips/lineno.d b/gas/testsuite/gas/mips/lineno.d
index d2a40f7..40a201c 100644
--- a/gas/testsuite/gas/mips/lineno.d
+++ b/gas/testsuite/gas/mips/lineno.d
@@ -51,8 +51,11 @@ main\(\):
.*lineno.s:32
.*58:.*b.*
.*5c:.*nop
-
-0000000000000060 <\$L1>:
+# Objdump puts an '$L1' symbol here for ELF, but not for ECOFF. For
+# ELF, $L1 is in the .text section so objdump picks it for this location.
+# For ECOFF, it's in the *DEBUG* section, so objdump prefers the .text
+# symbol over $L1.
+#...
.*lineno.s:34
.*60:.*move.*
.*lineno.s:35
@@ -65,7 +68,7 @@ main\(\):
.*70:.*jr.*
.*74:.*nop
-0000000000000078 <g>:
+0+0078 <g>:
g\(\):
.*lineno.s:47
.*78:.*addiu.*
@@ -84,8 +87,8 @@ g\(\):
.*lineno.s:54
.*94:.*b.*
.*98:.*nop
-
-000000000000009c <\$L2>:
+# Objdump puts an '$L2' symbol here for ELF, but not for ECOFF.
+#...
.*lineno.s:56
.*9c:.*move.*
.*lineno.s:57