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 | d5c4095a98eba6dc419a994914c6b8d88e3e3dc6 (patch) | |
tree | f484a39e5470e04bdff27862f465d3649780aa71 /gas/testsuite | |
parent | 775cf8916376ff8a3b7b5ab8f618a3c519729a5f (diff) | |
download | gdb-d5c4095a98eba6dc419a994914c6b8d88e3e3dc6.zip gdb-d5c4095a98eba6dc419a994914c6b8d88e3e3dc6.tar.gz gdb-d5c4095a98eba6dc419a994914c6b8d88e3e3dc6.tar.bz2 |
Allow for the possibility that the local labels won't be in the objdump output.
Diffstat (limited to 'gas/testsuite')
-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 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 |