diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-22 09:42:20 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-22 09:42:20 +0100 |
commit | e6a3149428ef2d42d9a9df78a19c2e52496f3deb (patch) | |
tree | 368294cd96f741990717234a6819cc60c1b413f6 /meta/packages/gcc/gcc-4.3.3/intermask-bigendian.patch | |
parent | f887fcd665505453412a9f2e2508404e6ec4eea8 (diff) | |
download | openembedded-core-e6a3149428ef2d42d9a9df78a19c2e52496f3deb.tar.gz openembedded-core-e6a3149428ef2d42d9a9df78a19c2e52496f3deb.tar.bz2 openembedded-core-e6a3149428ef2d42d9a9df78a19c2e52496f3deb.tar.xz openembedded-core-e6a3149428ef2d42d9a9df78a19c2e52496f3deb.zip |
gcc: Add 4.3.3 and switch to for Moblin
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc/gcc-4.3.3/intermask-bigendian.patch')
-rw-r--r-- | meta/packages/gcc/gcc-4.3.3/intermask-bigendian.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.3.3/intermask-bigendian.patch b/meta/packages/gcc/gcc-4.3.3/intermask-bigendian.patch new file mode 100644 index 000000000..fdff3d3d8 --- /dev/null +++ b/meta/packages/gcc/gcc-4.3.3/intermask-bigendian.patch @@ -0,0 +1,24 @@ +--- gcc-4.2.0/gcc/config/arm/bpabi.h ++++ gcc-4.2.0/gcc/config/arm/bpabi.h +@@ -33,9 +33,19 @@ + #undef FPUTYPE_DEFAULT + #define FPUTYPE_DEFAULT FPUTYPE_VFP + ++/* ++ * 'config.gcc' defines TARGET_BIG_ENDIAN_DEFAULT as 1 for arm*b-* ++ * (big endian) configurations. ++ */ ++#if TARGET_BIG_ENDIAN_DEFAULT ++#define TARGET_ENDIAN_DEFAULT MASK_BIG_END ++#else ++#define TARGET_ENDIAN_DEFAULT 0 ++#endif ++ + /* EABI targets should enable interworking by default. */ + #undef TARGET_DEFAULT +-#define TARGET_DEFAULT MASK_INTERWORK ++#define TARGET_DEFAULT (MASK_INTERWORK | TARGET_ENDIAN_DEFAULT) + + /* The ARM BPABI functions return a boolean; they use no special + calling convention. */ + |