From a23b5f7fab3c3367bd2f889f2685d267e2438718 Mon Sep 17 00:00:00 2001 From: nickc Date: Thu, 19 Jul 2007 16:47:39 +0000 Subject: [PATCH] PR gas/4804 * gas/elf/elf.exp (target_machine): Treat the arm-linux-gnu target in the same way as the arm-eabi target. * gas/arm/mapshort-eabi.d: Use this file for the arm-linux-gnu target. * gas/arm/mapshort-elf.d: Do not use this file for the arm-linux-gnu target. --- gas/testsuite/ChangeLog | 10 ++++++++++ gas/testsuite/gas/arm/mapshort-eabi.d | 2 +- gas/testsuite/gas/arm/mapshort-elf.d | 2 +- gas/testsuite/gas/elf/elf.exp | 1 + 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 77937316f4..396f982a75 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2007-07-19 Nick Clifton + + PR gas/4804 + * gas/elf/elf.exp (target_machine): Treat the arm-linux-gnu target + in the same way as the arm-eabi target. + * gas/arm/mapshort-eabi.d: Use this file for the arm-linux-gnu + target. + * gas/arm/mapshort-elf.d: Do not use this file for the + arm-linux-gnu target. + 2007-07-16 H.J. Lu * gas/i386/simd.s: Add tests for punpcklbw, punpckldq, diff --git a/gas/testsuite/gas/arm/mapshort-eabi.d b/gas/testsuite/gas/arm/mapshort-eabi.d index 9cbfc3eacd..5550dac5ad 100644 --- a/gas/testsuite/gas/arm/mapshort-eabi.d +++ b/gas/testsuite/gas/arm/mapshort-eabi.d @@ -1,7 +1,7 @@ #objdump: --syms --special-syms -d #name: ARM Mapping Symbols for .short (EABI version) # This test is only valid on EABI based ports. -#target: *-*-*eabi *-*-symbianelf +#target: *-*-*eabi *-*-symbianelf *-*-linux-* #source: mapshort.s # Test the generation and use of ARM ELF Mapping Symbols diff --git a/gas/testsuite/gas/arm/mapshort-elf.d b/gas/testsuite/gas/arm/mapshort-elf.d index 09602f0809..e328b4ad63 100644 --- a/gas/testsuite/gas/arm/mapshort-elf.d +++ b/gas/testsuite/gas/arm/mapshort-elf.d @@ -1,7 +1,7 @@ #objdump: --syms --special-syms -d #name: ARM Mapping Symbols for .short (ELF version) # This test is only valid on ELF based ports. -#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* *-*-*eabi *-*-syymbianelf +#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* *-*-*eabi *-*-syymbianelf *-*-linux-* #source: mapshort.s # Test the generation and use of ARM ELF Mapping Symbols diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp index d1e5a0a210..83c80824b3 100644 --- a/gas/testsuite/gas/elf/elf.exp +++ b/gas/testsuite/gas/elf/elf.exp @@ -60,6 +60,7 @@ if { ([istarget "*-*-*elf*"] || [istarget "xscale*-*-*"]) } { if { ([istarget "*-*-*eabi"] + || [istarget "*-*-linux-*"] || [istarget "*-*-symbianelf"])} then { set target_machine -armeabi } else { -- 2.11.0