]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Replace t-ppccomm by t-vxworks in libgcc/config/rs6000
authorRasmus Villemoes <rv@rasmusvillemoes.dk>
Tue, 7 Dec 2021 12:09:38 +0000 (12:09 +0000)
committerOlivier Hainque <hainque@adacore.com>
Fri, 10 Dec 2021 13:17:22 +0000 (13:17 +0000)
This removes ibm-ldouble.c and a few eabi crt files from the build
closure, which were producing objects we don't use anyway.

2021-12-07  Rasmus Villemoes  <rv@rasmusvillemoes.dk>

libgcc/
* config/rs6000/t-vxworks: New file.
* config.host (powerpc*-*-vxworks*): Use it instead of
t-ppccomm.

libgcc/config.host
libgcc/config/rs6000/t-vxworks [new file with mode: 0644]

index 95a0b2ab4b1a2ed6c42b7a5517af7ad5b46aef5c..bd44f1bbf42b37750760afa16295b0354507b0e4 100644 (file)
@@ -1238,7 +1238,7 @@ powerpc*-*-linux*)
        md_unwind_header=rs6000/linux-unwind.h
        ;;
 powerpc*-wrs-vxworks7*)
-        tmake_file="$tmake_file rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-linux t-dfprules rs6000/t-ppc64-fp t-slibgcc-libgcc"
+        tmake_file="$tmake_file rs6000/t-vxworks rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-linux t-dfprules rs6000/t-ppc64-fp t-slibgcc-libgcc"
         case $ppc_fp_type in
         64)
                 ;;
@@ -1255,7 +1255,7 @@ powerpc*-wrs-vxworks7*)
         esac
         ;;
 powerpc-wrs-vxworks*)
-       tmake_file="$tmake_file rs6000/t-ppccomm rs6000/t-savresfgpr t-fdpbit"
+       tmake_file="$tmake_file rs6000/t-vxworks rs6000/t-savresfgpr t-fdpbit"
        ;;
 powerpc-*-lynxos*)
        tmake_file="$tmake_file rs6000/t-lynx t-fdpbit"
diff --git a/libgcc/config/rs6000/t-vxworks b/libgcc/config/rs6000/t-vxworks
new file mode 100644 (file)
index 0000000..8c7a56f
--- /dev/null
@@ -0,0 +1 @@
+LIB2ADD += $(srcdir)/config/rs6000/tramp.S