Fix netbsd configuration
Krister Walfridsson
cato@df.lth.se
Thu Nov 28 10:03:00 GMT 2002
A recent change to the config.gcc was supposed to check for NetBSD 1.7 or
newer, but there was a thinko in the test.
I have committed the patch below. Approved offline by Jason Thorpe.
Bootstrapped and regression tested on i386-unknown-netbsdelf1.6.
/Krister
2002-11-27 Krister Walfridsson <cato@df.lth.se>
* config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for
correct version.
Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.262
diff -c -3 -p -r1.262 config.gcc
*** config.gcc 26 Nov 2002 00:05:06 -0000 1.262
--- config.gcc 28 Nov 2002 00:11:51 -0000
*************** case $machine in
*** 375,381 ****
# ELF configurations. We will clear extra_parts in the
# a.out configurations.
case $machine in
! *-*-netbsd*1.[7-9]* | *-*-netbsd*[2-9]*)
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
;;
esac
--- 375,381 ----
# ELF configurations. We will clear extra_parts in the
# a.out configurations.
case $machine in
! *-*-netbsd*1.[7-9]* | *-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*)
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
;;
esac
More information about the Gcc-patches
mailing list