Fixes for ARM gas testsuite
Richard Earnshaw
rearnsha@arm.com
Mon Nov 1 08:51:00 GMT 1999
Nick,
Can we avoid references to sections such as .rdata? a.out doesn't have
these sections which makes the test unsuitable for targets based on those
platforms. For these tests, what is wrong with just pushing the data into
the text segment?
Also I think it would be better to avoid labels beginning with '.', since
I doubt these are valid either.
R.
> Hi Guys,
>
> I have just checked in the following patch. It fixes some GAS test
> failures for the arm-pe toolchain.
>
> Cheers
> Nick
>
>
> 1999-11-01 Nick Clifton <nickc@cygnus.com>
>
> Remove reloc generating references to local labels in test code.
> Some ARM targets (eg PE) generate a reloc based on the label,
> whilst others (eg ELF) generate a reloc based on the section
> symbol. This meant that the disassembled outputs would differ.
>
> * gas/arm/inst.s: Change test of BLPL instruction.
> * gas/arm/inst.d: Change expected decode of BLPL instruction.
> * gas/arm/arm7t.s: Remove use of .LC0 label in .word directive.
>
> Index: arm7t.s
> ===================================================================
> RCS file: /cvs/binutils/binutils/gas/testsuite/gas/arm/arm7t.s,v
> retrieving revision 1.1.1.1
> diff -p -r1.1.1.1 arm7t.s
> *** arm7t.s 1999/05/03 07:28:48 1.1.1.1
> --- arm7t.s 1999/11/01 16:41:51
> ***************
> *** 1,6 ****
> .section .rdata
> .align 0
> - .LC0:
> .ascii "some data\000"
>
> .text
> --- 1,5 ----
> *************** misc:
> *** 76,79 ****
>
> .align
> .L2:
> ! .word .LC0
> --- 75,78 ----
>
> .align
> .L2:
> ! .word .rdata
More information about the Binutils
mailing list