Date: Fri, 7 Jan 2011 12:32:07 -0800 From: Juli Mallett <jmallett@FreeBSD.org> To: Warner Losh <imp@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r217123 - in head: . gnu/lib/libgcc gnu/lib/libgomp gnu/usr.bin/binutils gnu/usr.bin/binutils/ld gnu/usr.bin/binutils/libbfd gnu/usr.bin/cc gnu/usr.bin/gdb gnu/usr.bin/gdb/libgdb lib/li... Message-ID: <AANLkTimuCCTsYczrKOewyxVOuZgnbPsy9iQUgGKtiGXb@mail.gmail.com> In-Reply-To: <201101072026.p07KQXKe064774@svn.freebsd.org> References: <201101072026.p07KQXKe064774@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 7, 2011 at 12:26, Warner Losh <imp@freebsd.org> wrote: > --- head/gnu/lib/libgcc/Makefile =A0 =A0 =A0 =A0Fri Jan =A07 20:07:30 201= 1 =A0 =A0 =A0 =A0(r217122) > +++ head/gnu/lib/libgcc/Makefile =A0 =A0 =A0 =A0Fri Jan =A07 20:26:33 201= 1 =A0 =A0 =A0 =A0(r217123) > @@ -119,9 +119,10 @@ LIB2FUNCS_EXTRA =3D floatunsidf.c floatuns > =A0# =A0 =A0 =A0_fixsfsi _fixunssfsi _floatdidf _floatdisf > =A0.endif > > -.if ${TARGET_CPUARCH} =3D=3D "mips" > +.if ${TARGET_CPUARCH} =3D=3D mips > =A0LIB2FUNCS_EXTRA =3D floatunsidf.c floatunsisf.c > -.if defined(TARGET_ABI) && ${TARGET_ABI} !=3D "o32" > +# XXX do we need n32 here? > +.if ${TARGET_ARCH:Mmips64*} !=3D "" Almost certainly. n32 fails the !=3D o32 check. I was careful when I made the TARGET_ABI changes. There's a possibility that this was wrong for some reason, but I'm skeptical. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/lib/libc/Makefile =A0 =A0 =A0Fri Jan =A07 20:07:30 2011 =A0 =A0 = =A0 =A0(r217122) > +++ head/lib/libc/Makefile =A0 =A0 =A0Fri Jan =A07 20:26:33 2011 =A0 =A0 = =A0 =A0(r217123) > @@ -68,11 +68,7 @@ NOASM=3D > =A0 =A0 ${LIBC_ARCH} !=3D "ia64" && \ > =A0 =A0 ${LIBC_ARCH} !=3D "powerpc64" && \ > =A0 =A0 ${LIBC_ARCH} !=3D "sparc64" && \ > - =A0 =A0${LIBC_ARCH} !=3D "mips" > -.include "${.CURDIR}/quad/Makefile.inc" > -.endif > -.if ${LIBC_ARCH} =3D=3D "mips" && \ > - =A0 =A0(!defined(TARGET_ABI) || ${TARGET_ABI} =3D=3D "o32") > + =A0 =A0${MACHINE_ARCH:Mmips64*} =3D=3D "" > =A0.include "${.CURDIR}/quad/Makefile.inc" Here it's definitely wrong to restate !=3Do32 as =3D=3Dn64; n32 doesn't nee= d soft quads, it has 64-bit registers. Thanks, Juli.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimuCCTsYczrKOewyxVOuZgnbPsy9iQUgGKtiGXb>