This adds ${cpu_type}/t-lse and t-slibgcc-libgcc to the tmake_file
list for aarch64-vxworks7* configurations, as the Linux port does.

t-lse is needed by all triplets now anyway and the standard setting
for slibgcc makes sense as we are working on reintroducing PIC support
for RTPs on various targets. The VxWorks7 system environments are leaning
towards more and more similarilties with Linux in general, so the
closer configurations the better.

Checked that this restores the build for --target=aarch64-vxworks7r2
(previously failing from the missing t-lse part), and that we get resonable
test results back after the change posted at:
https://gcc.gnu.org/pipermail/gcc-patches/2020-October/556216.html.

Olivier

2020-11-02  Pat Bernardi  <berna...@adacore.com>

libgcc/
        * config.host (aarch64-vxworks7*, tmake_file): Add
        ${cpu_type}/t-lse and t-slibgcc-libgcc.

Co-authored-by: Olivier Hainque  <hain...@adacore.com>

diff --git a/libgcc/config.host b/libgcc/config.host
index 40823f0cff43..66af8343a286 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -393,6 +393,7 @@ aarch64*-*-vxworks7*)
        extra_parts="$extra_parts crtfastmath.o"
        md_unwind_header=aarch64/aarch64-unwind.h
        tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
+       tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
        tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
        ;;
 alpha*-*-linux*)
-- 
2.17.1



Reply via email to