diff options
author | Nick Clifton <nickc@redhat.com> | 2003-02-10 10:44:48 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-02-10 10:44:48 +0000 |
commit | fde78edd7af5c957f88e3a8c4266c663a8bd2df0 (patch) | |
tree | 0329194b5ea2bdf30c6cc7169cc7a6ff635b09e1 /gas | |
parent | 469def5365549e40f76e9ed6f46fa8fba6a53c52 (diff) | |
download | gdb-fde78edd7af5c957f88e3a8c4266c663a8bd2df0.zip gdb-fde78edd7af5c957f88e3a8c4266c663a8bd2df0.tar.gz gdb-fde78edd7af5c957f88e3a8c4266c663a8bd2df0.tar.bz2 |
Add support for marking ARM ELF binaries as support the Cirrus EP9312 Maverick
floating point co-processor.
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) |