diff options
author | Koen Kooi <koen@openembedded.org> | 2008-05-28 12:44:00 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-05-28 12:44:00 +0000 |
commit | 826d9b38af92ce9f032657fe238f6a597a129fc3 (patch) | |
tree | a2ca20912834a6cdd89f1028dba816531be59c6a /packages/gcc/gcc-4.2.4/intermask-bigendian.patch | |
parent | 86d33fab54b7011f4abb2e4b868942c295aa7841 (diff) |
gcc 4.2.4: another point release in the 4.2 series
Diffstat (limited to 'packages/gcc/gcc-4.2.4/intermask-bigendian.patch')
-rw-r--r-- | packages/gcc/gcc-4.2.4/intermask-bigendian.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.2.4/intermask-bigendian.patch b/packages/gcc/gcc-4.2.4/intermask-bigendian.patch new file mode 100644 index 0000000000..fdff3d3d86 --- /dev/null +++ b/packages/gcc/gcc-4.2.4/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. */ + |