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/config | |
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/config')
-rw-r--r-- | gas/config/tc-arm.c | 9 |
1 files changed, 9 insertions, 0 deletions
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) |