Allow for the possibility that the local labels won't be in the objdump output.

This commit is contained in:
Nick Clifton 2001-03-27 19:33:52 +00:00
parent 775cf89163
commit d5c4095a98
2 changed files with 15 additions and 5 deletions

View File

@ -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

View File

@ -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