Date: Fri, 07 Jan 2011 13:48:46 -0700 From: Warner Losh <imp@bsdimp.com> To: Juli Mallett <jmallett@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Warner Losh <imp@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: <4D277C2E.2070300@bsdimp.com> In-Reply-To: <AANLkTimuCCTsYczrKOewyxVOuZgnbPsy9iQUgGKtiGXb@mail.gmail.com> References: <201101072026.p07KQXKe064774@svn.freebsd.org> <AANLkTimuCCTsYczrKOewyxVOuZgnbPsy9iQUgGKtiGXb@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/07/2011 13:32, Juli Mallett wrote: > On Fri, Jan 7, 2011 at 12:26, Warner Losh<imp@freebsd.org> wrote: >> --- head/gnu/lib/libgcc/Makefile Fri Jan 7 20:07:30 2011 (r217122) >> +++ head/gnu/lib/libgcc/Makefile Fri Jan 7 20:26:33 2011 (r217123) >> @@ -119,9 +119,10 @@ LIB2FUNCS_EXTRA = floatunsidf.c floatuns >> # _fixsfsi _fixunssfsi _floatdidf _floatdisf >> .endif >> >> -.if ${TARGET_CPUARCH} == "mips" >> +.if ${TARGET_CPUARCH} == mips >> LIB2FUNCS_EXTRA = floatunsidf.c floatunsisf.c >> -.if defined(TARGET_ABI)&& ${TARGET_ABI} != "o32" >> +# XXX do we need n32 here? >> +.if ${TARGET_ARCH:Mmips64*} != "" > Almost certainly. n32 fails the != 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. I'll update then. It appears to work without it. > > ============================================================================== >> --- head/lib/libc/Makefile Fri Jan 7 20:07:30 2011 (r217122) >> +++ head/lib/libc/Makefile Fri Jan 7 20:26:33 2011 (r217123) >> @@ -68,11 +68,7 @@ NOASM= >> ${LIBC_ARCH} != "ia64"&& \ >> ${LIBC_ARCH} != "powerpc64"&& \ >> ${LIBC_ARCH} != "sparc64"&& \ >> - ${LIBC_ARCH} != "mips" >> -.include "${.CURDIR}/quad/Makefile.inc" >> -.endif >> -.if ${LIBC_ARCH} == "mips"&& \ >> - (!defined(TARGET_ABI) || ${TARGET_ABI} == "o32") >> + ${MACHINE_ARCH:Mmips64*} == "" >> .include "${.CURDIR}/quad/Makefile.inc" > Here it's definitely wrong to restate !=o32 as ==n64; n32 doesn't need > soft quads, it has 64-bit registers. I thought sure that I'd fixed this one too. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D277C2E.2070300>