summaryrefslogtreecommitdiff
path: root/config/arch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2016-03-19 22:56:26 (GMT)
committerAlexey Neyman <stilor@att.net>2016-06-10 00:12:49 (GMT)
commita49e13fb4edeefba406d98754fb0ca04b707ff4c (patch)
treed3b461c9349f37b731b9b16203ca8fce802dfc2d /config/arch
parenta60946eb24430a8b43b8fe6027d32ab17be28111 (diff)
sh: require multilib
Now that libc backend installs the libraries into the directory reported by gcc as 'multi-os-directory', sh4 libraries are installed into a '!m4' subdirectory. This directory then confuses GNU ld, which assumes the exclamation mark to be a word separator and attempts to link to '/usr/lib' (a directory). However, if multilib is enabled, the default libraries are installed into the [expected] '/usr/lib/./'. This looks like an artifact of SuperH's unique way of specifying the multilibs to be built in GCC (which may list exclusions, starting with '!'). Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/arch')
-rw-r--r--config/arch/sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/arch/sh.in b/config/arch/sh.in
index 68d3120..60de313 100644
--- a/config/arch/sh.in
+++ b/config/arch/sh.in
@@ -5,6 +5,7 @@
## select ARCH_USE_MMU
## select ARCH_SUPPORTS_BOTH_ENDIAN
## select ARCH_DEFAULT_LE
+## select ARCH_REQUIRES_MULTILIB
##
## help The Super-H architecture, as defined by:
## help http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/