On 01/12/2016 09:16 AM, Richard Earnshaw (lists) wrote: > For normal core attributes you can use .object_arch to force the .arch > entry recorded in the attributes to a specific value, but I'm not sure > if you can override the .fpu directive in this way. You might have to > experiment a bit. Alternatively you might be able to force out the > relevant build attributes using .eabi_attribute to record some explicit > values (which then override the values that would be normally detected).
Ouch. Any chance I can get some help from arm folk about this? I don't know how much this would affect anything in practice. In particular, it's much more common for arm32 to configure for the exact cpu+vfp variant that will be in use. E.g. the Fedora armv7+hardfloat settings. For cases like that, __ARM_NEON will be set, and the file will build just fine. r~