From 8463be011baecb494680659580c1cfa3013a2e78 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Thu, 20 Apr 2006 12:39:51 +0000 Subject: [PATCH] 2005-04-20 Paul Brook gas/ * config/tc-arm.c (s_arm_arch, s_arm_cpu, s_arm_fpu): Enable for all targets. (md_pseudo_table): Enable .arch, .cpu and .fpu for all targets. gas/testsuite/ * gas/arm/arch7.d: Remove skip. * gas/arm/svc.d: Ditto. * gas/arm/thumb2_bcond.d: Ditto. * gas/arm/thumb2_it_bad.d: Ditto. --- gas/ChangeLog | 6 ++++++ gas/config/tc-arm.c | 10 +++++----- gas/testsuite/ChangeLog | 7 +++++++ gas/testsuite/gas/arm/arch7.d | 1 - gas/testsuite/gas/arm/svc.d | 1 - gas/testsuite/gas/arm/thumb2_bcond.d | 1 - gas/testsuite/gas/arm/thumb2_it_bad.d | 1 - 7 files changed, 18 insertions(+), 9 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 0eab8b78cfb..af9bdc69a94 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2005-04-20 Paul Brook + + * config/tc-arm.c (s_arm_arch, s_arm_cpu, s_arm_fpu): Enable for + all targets. + (md_pseudo_table): Enable .arch, .cpu and .fpu for all targets. + 2006-04-19 Alan Modra * Makefile.am (CPU_TYPES): Add maxq and mt. Sort. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 5af2cd4efbd..8dd268cb676 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -2956,11 +2956,11 @@ bad: as_bad (_("expected , ")); ignore_rest_of_line (); } +#endif /* OBJ_ELF */ static void s_arm_arch (int); static void s_arm_cpu (int); static void s_arm_fpu (int); -#endif /* OBJ_ELF */ /* This table describes all the machine specific pseudo-ops the assembler has to support. The fields are: @@ -2985,6 +2985,9 @@ const pseudo_typeS md_pseudo_table[] = { "ltorg", s_ltorg, 0 }, { "pool", s_ltorg, 0 }, { "syntax", s_syntax, 0 }, + { "cpu", s_arm_cpu, 0 }, + { "arch", s_arm_arch, 0 }, + { "fpu", s_arm_fpu, 0 }, #ifdef OBJ_ELF { "word", s_arm_elf_cons, 4 }, { "long", s_arm_elf_cons, 4 }, @@ -3000,9 +3003,6 @@ const pseudo_typeS md_pseudo_table[] = { "pad", s_arm_unwind_pad, 0 }, { "setfp", s_arm_unwind_setfp, 0 }, { "unwind_raw", s_arm_unwind_raw, 0 }, - { "cpu", s_arm_cpu, 0 }, - { "arch", s_arm_arch, 0 }, - { "fpu", s_arm_fpu, 0 }, { "eabi_attribute", s_arm_eabi_attribute, 0 }, #else { "word", cons, 4}, @@ -13909,6 +13909,7 @@ arm_md_end (void) p = frag_more (size); elf32_arm_set_eabi_attr_contents (stdoutput, (bfd_byte *)p, size); } +#endif /* OBJ_ELF */ /* Parse a .cpu directive. */ @@ -14015,5 +14016,4 @@ s_arm_fpu (int ignored ATTRIBUTE_UNUSED) *input_line_pointer = saved_char; ignore_rest_of_line (); } -#endif /* OBJ_ELF */ diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 4ab84703e2d..438b30774c5 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2005-04-20 Paul Brook + + * gas/arm/arch7.d: Remove skip. + * gas/arm/svc.d: Ditto. + * gas/arm/thumb2_bcond.d: Ditto. + * gas/arm/thumb2_it_bad.d: Ditto. + 2006-04-18 H.J. Lu PR gas/2533 diff --git a/gas/testsuite/gas/arm/arch7.d b/gas/testsuite/gas/arm/arch7.d index 992948b8331..f6563408282 100644 --- a/gas/testsuite/gas/arm/arch7.d +++ b/gas/testsuite/gas/arm/arch7.d @@ -1,6 +1,5 @@ #name: ARM V7 instructions #as: -march=armv7r -#skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* #objdump: -dr --prefix-addresses --show-raw-insn .*: +file format .*arm.* diff --git a/gas/testsuite/gas/arm/svc.d b/gas/testsuite/gas/arm/svc.d index fdeb9302083..697756c7965 100644 --- a/gas/testsuite/gas/arm/svc.d +++ b/gas/testsuite/gas/arm/svc.d @@ -1,6 +1,5 @@ # name: SWI/SVC instructions # objdump: -dr --prefix-addresses --show-raw-insn -# skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* .*: +file format .*arm.* diff --git a/gas/testsuite/gas/arm/thumb2_bcond.d b/gas/testsuite/gas/arm/thumb2_bcond.d index 8ab75320e1a..90b8e2096d2 100644 --- a/gas/testsuite/gas/arm/thumb2_bcond.d +++ b/gas/testsuite/gas/arm/thumb2_bcond.d @@ -1,6 +1,5 @@ # as: # objdump: -dr --prefix-addresses --show-raw-insn -# skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* .*: +file format .*arm.* diff --git a/gas/testsuite/gas/arm/thumb2_it_bad.d b/gas/testsuite/gas/arm/thumb2_it_bad.d index f905c9f5e73..1cca8b9650c 100644 --- a/gas/testsuite/gas/arm/thumb2_it_bad.d +++ b/gas/testsuite/gas/arm/thumb2_it_bad.d @@ -1,4 +1,3 @@ #name: Invalid IT instructions #as: -#skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* #error-output: thumb2_it_bad.l -- 2.30.2