Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nios2: bad option reported in multilib_defaults
multilib_defaults refers to -EL/-EB, but this target uses -mel/-meb and does not recognize -EL/-EB. Signed-off-by: Alexey Neyman <stilor@att.net>
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |