From d5c4095a98eba6dc419a994914c6b8d88e3e3dc6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 27 Mar 2001 19:33:52 +0000 Subject: [PATCH] Allow for the possibility that the local labels won't be in the objdump output. --- gas/testsuite/ChangeLog | 7 +++++++ 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 b68bd0e6793..5ec57a9ea53 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2001-03-27 Chris Demetriou + + * 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 * 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 d2a40f7a44d..40a201c162f 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 : +0+0078 : 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 -- 2.30.2