diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-28 19:08:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-28 19:08:24 (GMT) |
commit | c8b355ea925cfea1f6ff00e2edef4f0afa0f76a7 (patch) | |
tree | ee8b04c33cf0797e985d0f5476d310e9abb8ba78 /patches/gcc/linaro-5.4-2017.01/910-nios2-bad-multilib-default.patch | |
parent | ed7e671013eae3ffa7e683de9470b5cf80d3cb4f (diff) | |
parent | 99283866cc84102f22324a751a2ba3afb9221cb6 (diff) |
Merge pull request #622 from stilor/missing-linaro-patches
Add patches to Linaro GCC
Diffstat (limited to 'patches/gcc/linaro-5.4-2017.01/910-nios2-bad-multilib-default.patch')
-rw-r--r-- | patches/gcc/linaro-5.4-2017.01/910-nios2-bad-multilib-default.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/gcc/linaro-5.4-2017.01/910-nios2-bad-multilib-default.patch b/patches/gcc/linaro-5.4-2017.01/910-nios2-bad-multilib-default.patch new file mode 100644 index 0000000..d94697f --- /dev/null +++ b/patches/gcc/linaro-5.4-2017.01/910-nios2-bad-multilib-default.patch @@ -0,0 +1,28 @@ +diff -urpN gcc-5.3.0.orig/gcc/config/nios2/nios2.h gcc-5.3.0/gcc/config/nios2/nios2.h +--- gcc-5.3.0.orig/gcc/config/nios2/nios2.h 2016-04-18 10:32:41.046254061 -0700 ++++ gcc-5.3.0/gcc/config/nios2/nios2.h 2016-04-18 10:37:25.998841674 -0700 +@@ -55,11 +55,11 @@ + #if TARGET_ENDIAN_DEFAULT == 0 + # define ASM_SPEC "%{!meb:-EL} %{meb:-EB}" + # define LINK_SPEC_ENDIAN "%{!meb:-EL} %{meb:-EB}" +-# define MULTILIB_DEFAULTS { "EL" } ++# define MULTILIB_DEFAULTS { "mel" } + #else + # define ASM_SPEC "%{!mel:-EB} %{mel:-EL}" + # define LINK_SPEC_ENDIAN "%{!mel:-EB} %{mel:-EL}" +-# define MULTILIB_DEFAULTS { "EB" } ++# define MULTILIB_DEFAULTS { "meb" } + #endif + + #define LINK_SPEC LINK_SPEC_ENDIAN \ +diff -urpN gcc-5.3.0.orig/gcc/config/nios2/t-nios2 gcc-5.3.0/gcc/config/nios2/t-nios2 +--- gcc-5.3.0.orig/gcc/config/nios2/t-nios2 2016-04-18 10:32:41.046254061 -0700 ++++ gcc-5.3.0/gcc/config/nios2/t-nios2 2016-04-18 10:36:41.091312157 -0700 +@@ -22,6 +22,5 @@ + # MULTILIB_DIRNAMES = nomul mulx fpu-60-1 fpu-60-2 + # MULTILIB_EXCEPTIONS = + +-# MULTILIB_OPTIONS += EL/EB ++# MULTILIB_OPTIONS += mel/meb + # MULTILIB_DIRNAMES += le be +-# MULTILIB_MATCHES += EL=mel EB=meb |