diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 698a405..f44ae6e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2003-02-10 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (md_begin): If the Maverick co-processor is + selected, set the EF_ARM_MAVERICK_FLOAT flag and + bfd_mach_arm_ep9312 machine number. + 2003-02-08 Richard Sandiford <rsandifo@redhat.com> * config/tc-mips.c (reloc_needs_lo_p): New function. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index e588486..40d35d7 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -9278,6 +9278,13 @@ md_begin () /* Using VFP conventions (even if soft-float). */ if (cpu_variant & FPU_VFP_EXT_NONE) flags |= F_VFP_FLOAT; +#if defined OBJ_ELF + if (cpu_variant & ARM_CEXT_MAVERICK) + { + flags ^= F_SOFT_FLOAT; + flags |= EF_ARM_MAVERICK_FLOAT; + } +#endif bfd_set_private_flags (stdoutput, flags); @@ -9324,6 +9331,8 @@ md_begin () /* Catch special cases. */ if (cpu_variant & ARM_CEXT_XSCALE) mach = bfd_mach_arm_XScale; + else if (cpu_variant & ARM_CEXT_MAVERICK) + mach = bfd_mach_arm_ep9312; else if (cpu_variant & ARM_EXT_V5E) mach = bfd_mach_arm_5TE; else if (cpu_variant & ARM_EXT_V5) |