summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/config/sparc/t-vxsparc
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/gcc/config/sparc/t-vxsparc')
-rw-r--r--gnu/usr.bin/gcc/config/sparc/t-vxsparc17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config/sparc/t-vxsparc b/gnu/usr.bin/gcc/config/sparc/t-vxsparc
new file mode 100644
index 00000000000..3adba438bd9
--- /dev/null
+++ b/gnu/usr.bin/gcc/config/sparc/t-vxsparc
@@ -0,0 +1,17 @@
+LIBGCC1 =
+CROSS_LIBGCC1 =
+
+# We don't want to build .umul, etc., because VxWorks provides them,
+# which means that libgcc1-test will fail.
+LIBGCC1_TEST =
+
+# We don't want to put exit in libgcc.a for VxWorks, because VxWorks
+# does not have _exit.
+LIBGCC2_CFLAGS = -O2 $(GCC_CFLAGS) -g1 -Dexit=unused_exit
+
+MULTILIB_OPTIONS=msoft-float mv8
+MULTILIB_DIRNAMES=soft v8
+MULTILIB_MATCHES=msoft-float=mno-fpu
+
+LIBGCC = stmp-multilib
+INSTALL_LIBGCC = install-multilib