diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.8/800-arm-bigendian.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.8/800-arm-bigendian.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.8/800-arm-bigendian.patch b/meta/recipes-devtools/gcc/gcc-4.8/800-arm-bigendian.patch new file mode 100644 index 0000000000..16b23070ab --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.8/800-arm-bigendian.patch @@ -0,0 +1,20 @@ +Upstream-Status: Pending + +By Lennert Buytenhek <buytenh@wantstofly.org> +Adds support for arm*b-linux* big-endian ARM targets + +See http://gcc.gnu.org/PR16350 + +Index: gcc-4.8.0/gcc/config/arm/linux-elf.h +=================================================================== +--- gcc-4.8.0.orig/gcc/config/arm/linux-elf.h 2013-03-26 11:38:59.000000000 -0700 ++++ gcc-4.8.0/gcc/config/arm/linux-elf.h 2013-03-26 11:40:03.277745106 -0700 +@@ -46,7 +46,7 @@ + + #undef MULTILIB_DEFAULTS + #define MULTILIB_DEFAULTS \ +- { "marm", "mlittle-endian", "mfloat-abi=hard", "mno-thumb-interwork" } ++ { "marm", TARGET_ENDIAN_OPTION, "mfloat-abi=hard", "mno-thumb-interwork" } + + /* Now we define the strings used to build the spec file. */ + #undef LIB_SPEC |