Add built-in defines for hard-float and soft-float ABIs

Bug #602745 reported by Andrew Stubbs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Fix Released
Low
Chung-Lin Tang
4.4
Fix Released
Low
Chung-Lin Tang
4.5
Fix Released
Low
Chung-Lin Tang
Linaro GCC Tracking
Fix Released
Undecided
Unassigned

Bug Description

Ensure that the ARM compiler provides macros that can be used to differentiate between the HardFP and SoftFP ABIs.

This is targeted at 4.4 and 4.5.

Related branches

Loïc Minier (lool)
Changed in gcc-linaro:
importance: Undecided → Low
Revision history for this message
Wookey (wookey) wrote :

We should use the ARM extensions to be compatible with the proposed "ARM C language
extension spec" (rather than inventing new macros).
The macro for this is __ARM_PCS_VFP__

Revision history for this message
Andrew Stubbs (ams-codesourcery) wrote :

Can you provide a link to this spec?

Alternatively, a bit more info about how this macro is expected to be used/set, and what to do for the other ABIs would be good enough.

Changed in gcc-linaro:
assignee: nobody → Chung-Lin Tang (cltang)
Revision history for this message
Michael Hope (michaelh1) wrote :
Changed in gcc-linaro:
milestone: none → 4.5-2010.08-0
Changed in gcc-linaro-tracking:
milestone: none → 4.6.0
status: New → Fix Committed
Revision history for this message
Michael Hope (michaelh1) wrote :

fixed-in: 93544

Changed in gcc-linaro-tracking:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.