From b27a00c5888e7d6b08c40fa98403a8c3dc38ba8e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 19 Jul 2007 16:47:40 +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 77937316f4d..396f982a75e 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 9cbfc3eacd4..5550dac5ad3 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 09602f08091..e328b4ad63e 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 d1e5a0a2104..83c80824b39 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.30.2