summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-08-29 22:36:52 (GMT)
committerAlexey Neyman <stilor@att.net>2017-09-03 19:11:23 (GMT)
commit413f5f610012ea24db9910084ea3b40db808147b (patch)
tree75e9c879151cfa7cd476fc43b1182ca63655813f /samples
parent1da3cc59df185144cb01fdd32a0dc1ca417d9106 (diff)
Super-H multilib toolchain fixes
1. On SuperH, configuring GCC with explicit variant of the CPU (like "sh4") limits the default set of multilibs to just that CPU and requires --with-multilib-list to change. Allow for "unspecified" variant, so that we can defer to GCC to determine the list. 2. Support toolchains with both endiannesses at the same time. 3. Add a SuperH/newlib sample 4. Add more flags processing for uClibc Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'samples')
-rw-r--r--samples/sh-unknown-elf/crosstool.config4
-rw-r--r--samples/sh-unknown-elf/reported.by3
2 files changed, 7 insertions, 0 deletions
diff --git a/samples/sh-unknown-elf/crosstool.config b/samples/sh-unknown-elf/crosstool.config
new file mode 100644
index 0000000..35fa911
--- /dev/null
+++ b/samples/sh-unknown-elf/crosstool.config
@@ -0,0 +1,4 @@
+CT_ARCH_SH=y
+CT_BINUTILS_PLUGINS=y
+CT_CC_LANG_CXX=y
+CT_GETTEXT=y
diff --git a/samples/sh-unknown-elf/reported.by b/samples/sh-unknown-elf/reported.by
new file mode 100644
index 0000000..0435479
--- /dev/null
+++ b/samples/sh-unknown-elf/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Alexey Neyman"
+reporter_url=""
+reporter_comment="Sample SuperH/baremetal configuration with all default multilibs."