diff options
author | Alexey Neyman <stilor@att.net> | 2018-09-23 20:58:16 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-09-25 06:09:53 (GMT) |
commit | 98834458f12d36fb485f4706625a26d2f7e6c69d (patch) | |
tree | c570d5145dbee4daf166593fb95afc63e8f8d27f /packages/gcc-linaro/7.3-2018.05/0008-nios2-bad-multilib-default.patch | |
parent | eb65ba65ba761f2ff613342498fd58fcefdc606e (diff) |
Upgrades. Lots of 'em.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/gcc-linaro/7.3-2018.05/0008-nios2-bad-multilib-default.patch')
-rw-r--r-- | packages/gcc-linaro/7.3-2018.05/0008-nios2-bad-multilib-default.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/gcc-linaro/7.3-2018.05/0008-nios2-bad-multilib-default.patch b/packages/gcc-linaro/7.3-2018.05/0008-nios2-bad-multilib-default.patch new file mode 100644 index 0000000..4acc491 --- /dev/null +++ b/packages/gcc-linaro/7.3-2018.05/0008-nios2-bad-multilib-default.patch @@ -0,0 +1,31 @@ +--- + gcc/config/nios2/nios2.h | 4 ++-- + gcc/config/nios2/t-nios2 | 3 +-- + 2 files changed, 3 insertions(+), 4 deletions(-) + +--- a/gcc/config/nios2/nios2.h ++++ b/gcc/config/nios2/nios2.h +@@ -63,11 +63,11 @@ + #if TARGET_ENDIAN_DEFAULT == 0 + # define ASM_SPEC "%{!meb:-EL} %{meb:-EB} %{march=*:-march=%*}" + # define LINK_SPEC_ENDIAN "%{!meb:-EL} %{meb:-EB}" +-# define MULTILIB_DEFAULTS { "EL" } ++# define MULTILIB_DEFAULTS { "mel" } + #else + # define ASM_SPEC "%{!mel:-EB} %{mel:-EL} %{march=*:-march=%*}" + # define LINK_SPEC_ENDIAN "%{!mel:-EB} %{mel:-EL}" +-# define MULTILIB_DEFAULTS { "EB" } ++# define MULTILIB_DEFAULTS { "meb" } + #endif + + #define LINK_SPEC LINK_SPEC_ENDIAN \ +--- a/gcc/config/nios2/t-nios2 ++++ b/gcc/config/nios2/t-nios2 +@@ -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 |