diff options
author | Paul Brook <paul@codesourcery.com> | 2006-04-20 12:39:51 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2006-04-20 12:39:51 +0000 |
commit | 8463be011baecb494680659580c1cfa3013a2e78 (patch) | |
tree | 24eef850c31adfb6bc38f89b4dccd4f42fe07f53 | |
parent | c9f2a989ad6af82c02d6bcd643880e343840ee55 (diff) | |
download | gdb-8463be011baecb494680659580c1cfa3013a2e78.zip gdb-8463be011baecb494680659580c1cfa3013a2e78.tar.gz gdb-8463be011baecb494680659580c1cfa3013a2e78.tar.bz2 |
2005-04-20 Paul Brook <paul@codesourcery.com>
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.
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 10 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/arch7.d | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/svc.d | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/thumb2_bcond.d | 1 | ||||
-rw-r--r-- | 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 0eab8b7..af9bdc6 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2005-04-20 Paul Brook <paul@codesourcery.com> + + * 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 <amodra@bigpond.net.au> * Makefile.am (CPU_TYPES): Add maxq and mt. Sort. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 5af2cd4..8dd268c 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -2956,11 +2956,11 @@ bad: as_bad (_("expected <tag> , <value>")); 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 4ab8470..438b307 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2005-04-20 Paul Brook <paul@codesourcery.com> + + * 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 <hongjiu.lu@intel.com> PR gas/2533 diff --git a/gas/testsuite/gas/arm/arch7.d b/gas/testsuite/gas/arm/arch7.d index 992948b..f656340 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 fdeb930..697756c 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 8ab7532..90b8e20 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 f905c9f..1cca8b9 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 |