I have committed the attached patch to add i386/t-crtstuff to tmake_file
for i[34567]86-*-netbsdelf*.
Bootstrapped and tested on i386-unknown-netbsdelf6.1 (fixes 29378
failures)
/Krister
2016-12-10 Krister Walfridsson <krister.walfrids...@gmail.com>
* config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
tmake_file.
Index: libgcc/config.host
===================================================================
--- libgcc/config.host (revision 243517)
+++ libgcc/config.host (revision 243518)
@@ -599,6 +599,7 @@
md_unwind_header=i386/freebsd-unwind.h
;;
i[34567]86-*-netbsdelf*)
+ tmake_file="${tmake_file} i386/t-crtstuff"
;;
x86_64-*-netbsd*)
tmake_file="${tmake_file} i386/t-crtstuff"