Add built-in defines for hard-float and soft-float ABIs
Bug #602745 reported by
Andrew Stubbs
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
lp:~cltang/gcc-linaro/lp-602745
- Andrew Stubbs (community): Approve
-
Diff: 61 lines (+23/-2)3 files modifiedChangeLog.linaro (+12/-0)
gcc/config/arm/arm.c (+1/-1)
gcc/config/arm/arm.h (+10/-1)
Changed in gcc-linaro: | |
importance: | Undecided → Low |
Changed in gcc-linaro: | |
assignee: | nobody → Chung-Lin Tang (cltang) |
Changed in gcc-linaro-tracking: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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__