Merge lp:~cltang/gcc-linaro/lp-602745 into lp:gcc-linaro/4.4

Proposed by Chung-Lin Tang
Status: Merged
Merged at revision: 93544
Proposed branch: lp:~cltang/gcc-linaro/lp-602745
Merge into: lp:gcc-linaro/4.4
Diff against target: 61 lines (+23/-2)
3 files modified
ChangeLog.linaro (+12/-0)
gcc/config/arm/arm.c (+1/-1)
gcc/config/arm/arm.h (+10/-1)
To merge this branch: bzr merge lp:~cltang/gcc-linaro/lp-602745
Reviewer Review Type Date Requested Status
Andrew Stubbs (community) Approve
Review via email: mp+31623@code.launchpad.net

Description of the change

Backport from mainline: ARM soft/hard-float preprocessor symbol patch, for fixing Launchpad bug #602745.

To post a comment you must log in.
Revision history for this message
Andrew Stubbs (ams-codesourcery) wrote :

This is good, thanks. :)

Andrew

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog.linaro'
--- ChangeLog.linaro 2010-07-29 13:52:03 +0000
+++ ChangeLog.linaro 2010-08-03 10:02:03 +0000
@@ -1,3 +1,15 @@
12010-08-03 Chung-Lin Tang <cltang@codesourcery.com>
2
3 Backport from mainline for Launchpad Bug #602745:
4
5 2010-07-28 Chung-Lin Tang <cltang@codesourcery.com>
6
7 gcc/
8 * config/arm/arm.c (arm_pcs_default): Remove static.
9 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_PCS or
10 __ARM_PCS_VFP to indicate soft/hard-float calling convention.
11 (arm_pcs_default): Declare.
12
12010-07-23 Ulrich Weigand <uweigand@de.ibm.com>132010-07-23 Ulrich Weigand <uweigand@de.ibm.com>
214
3 Revert most PowerPC-related patches:15 Revert most PowerPC-related patches:
416
=== modified file 'gcc/config/arm/arm.c'
--- gcc/config/arm/arm.c 2010-07-07 07:24:43 +0000
+++ gcc/config/arm/arm.c 2010-08-03 10:02:03 +0000
@@ -686,7 +686,7 @@
686/* The maximum number of insns to be used when loading a constant. */686/* The maximum number of insns to be used when loading a constant. */
687static int arm_constant_limit = 3;687static int arm_constant_limit = 3;
688688
689static enum arm_pcs arm_pcs_default;689enum arm_pcs arm_pcs_default;
690690
691/* For an explanation of these variables, see final_prescan_insn below. */691/* For an explanation of these variables, see final_prescan_insn below. */
692int arm_ccfsm_state;692int arm_ccfsm_state;
693693
=== modified file 'gcc/config/arm/arm.h'
--- gcc/config/arm/arm.h 2010-06-17 08:44:15 +0000
+++ gcc/config/arm/arm.h 2010-08-03 10:02:03 +0000
@@ -84,7 +84,13 @@
84 if (arm_arch_iwmmxt) \84 if (arm_arch_iwmmxt) \
85 builtin_define ("__IWMMXT__"); \85 builtin_define ("__IWMMXT__"); \
86 if (TARGET_AAPCS_BASED) \86 if (TARGET_AAPCS_BASED) \
87 builtin_define ("__ARM_EABI__"); \87 { \
88 if (arm_pcs_default == ARM_PCS_AAPCS_VFP) \
89 builtin_define ("__ARM_PCS_VFP"); \
90 else if (arm_pcs_default == ARM_PCS_AAPCS) \
91 builtin_define ("__ARM_PCS"); \
92 builtin_define ("__ARM_EABI__"); \
93 } \
88 if (arm_tune_marvell_f) \94 if (arm_tune_marvell_f) \
89 builtin_define ("__ARM_TUNE_MARVELL_F__"); \95 builtin_define ("__ARM_TUNE_MARVELL_F__"); \
90 if (low_irq_latency) \96 if (low_irq_latency) \
@@ -1682,6 +1688,9 @@
1682 ARM_PCS_UNKNOWN1688 ARM_PCS_UNKNOWN
1683};1689};
16841690
1691/* Default procedure calling standard of current compilation unit. */
1692extern enum arm_pcs arm_pcs_default;
1693
1685/* We can't define this inside a generator file because it needs enum1694/* We can't define this inside a generator file because it needs enum
1686 machine_mode. */1695 machine_mode. */
1687/* A C type for declaring a variable that is used as the first argument of1696/* A C type for declaring a variable that is used as the first argument of

Subscribers

People subscribed via source and target branches