summaryrefslogtreecommitdiff
path: root/gcc/config/sh/t-vxworks
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sh/t-vxworks')
-rw-r--r--gcc/config/sh/t-vxworks9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config/sh/t-vxworks b/gcc/config/sh/t-vxworks
new file mode 100644
index 000000000..66aa7091a
--- /dev/null
+++ b/gcc/config/sh/t-vxworks
@@ -0,0 +1,9 @@
+# Multilibs for VxWorks.
+
+MULTILIB_OPTIONS = mrtp fPIC m2/m3/m4/m4a ml
+# Don't build -fPIC without -mrtp, or -ml without -m3/-m4.
+MULTILIB_EXCEPTIONS = fPIC* ml* mrtp/ml* mrtp/fPIC/ml* *m2/ml*
+MULTILIB_MATCHES = m2=m4-nofpu fPIC=fpic
+
+# Restore a variable from t-vxworks clobbered by t-elf.
+EXTRA_MULTILIB_PARTS =