diff options
author | Nick Clifton <nickc@redhat.com> | 2001-03-27 19:33:52 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-03-27 19:33:52 +0000 |
commit | 333fa4a98bbd52f47cdac586981542e624e563e5 (patch) | |
tree | b05dd4de93509a3820febc5eda5cc35c94124fcf /gas | |
parent | 65633602c96c8482024285fcaba0aeff26ce0c8b (diff) | |
download | binutils-redhat-333fa4a98bbd52f47cdac586981542e624e563e5.tar.gz |
Allow for the possibility that the local labels won't be in the objdump output.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/lineno.d | 13 |
2 files changed, 15 insertions, 5 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index b68bd0e679..5ec57a9ea5 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 d2a40f7a44..40a201c162 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 |