Remove ppc*-vxworks7* inadequate libgcc Makefile fragments
authorOlivier Hainque <hainque@adacore.com>
Thu, 9 Dec 2021 15:37:37 +0000 (15:37 +0000)
committerOlivier Hainque <hainque@adacore.com>
Mon, 13 Dec 2021 18:03:21 +0000 (18:03 +0000)
t-linux assigns .so version numbers to a set of
symbols, some of which aren't included the VxWorks libgcc
on powerpc (from ibm-ldouble.c, in particular).

t-slibgcc-libgcc yields a kind of .so file that the default
loader can't handle. This sort of extension to tmake_file for
shared libs will be better handled in a grouped fashion for
all targets anyway.

2021-12-13  Olivier Hainque  <hainque@adacore.com>

* config.host (powerpc*-*-vxworks7*): Remove
rs6000/t-linux and t-slibgcc-libgcc from tmake_file.

libgcc/config.host

index 5719c46..1bac57c 100644 (file)
@@ -1232,7 +1232,7 @@ powerpc*-*-linux*)
        md_unwind_header=rs6000/linux-unwind.h
        ;;
 powerpc*-wrs-vxworks7*)
-        tmake_file="$tmake_file rs6000/t-vxworks rs6000/t-savresfgpr rs6000/t-linux t-dfprules rs6000/t-ppc64-fp t-slibgcc-libgcc"
+        tmake_file="$tmake_file rs6000/t-vxworks rs6000/t-savresfgpr t-dfprules rs6000/t-ppc64-fp"
         tmake_file="rs6000/t-crtstuff ${tmake_file}"
         case $ppc_fp_type in
         64)