From: Rainer Orth Date: Fri, 21 Jun 2002 11:25:58 +0000 (+0000) Subject: re PR other/6836 (crtfastmath.o is not built as 64-bit with sparc-sun-solaris2.8... X-Git-Tag: releases/gcc-3.1.1~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5361382c4dae2d79fb26a15c61e770170169260c;p=thirdparty%2Fgcc.git re PR other/6836 (crtfastmath.o is not built as 64-bit with sparc-sun-solaris2.8 32-bit and 64-bit multilib) * config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for multilibs. * config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o. * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Likewise. Fixes PR other/6836. From-SVN: r54880 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ccc0179e3998..79f86a670800 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2002-06-21 Rainer Orth + + * config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for + multilibs. + * config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o. + * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Likewise. + Fixes PR other/6836. + 2002-06-21 Bo Thorsen * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386 diff --git a/gcc/config/sparc/t-crtfm b/gcc/config/sparc/t-crtfm index 744537db3bd3..e0adb97bd3bf 100644 --- a/gcc/config/sparc/t-crtfm +++ b/gcc/config/sparc/t-crtfm @@ -1,4 +1,4 @@ EXTRA_PARTS += crtfastmath.o -crtfastmath.o: $(srcdir)/config/sparc/crtfastmath.c $(GCC_PASSES) - $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -c -o crtfastmath.o $(srcdir)/config/sparc/crtfastmath.c +$(T)crtfastmath.o: $(srcdir)/config/sparc/crtfastmath.c $(GCC_PASSES) + $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) $(LIBGCC2_CFLAGS) -c -o $(T)crtfastmath.o $(srcdir)/config/sparc/crtfastmath.c diff --git a/gcc/config/sparc/t-linux64 b/gcc/config/sparc/t-linux64 index c93ff25a3ff1..a64862638355 100644 --- a/gcc/config/sparc/t-linux64 +++ b/gcc/config/sparc/t-linux64 @@ -7,7 +7,8 @@ MULTILIB_EXCLUSIONS = m32/!m64/mno-app-regs m32/!m64/mcmodel=medany LIBGCC = stmp-multilib INSTALL_LIBGCC = install-multilib -EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o +EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o \ + crtfastmath.o SHLIB_SLIBDIR_SUFFIXES = 64:64 32: diff --git a/gcc/config/sparc/t-sol2-64 b/gcc/config/sparc/t-sol2-64 index ef7dee7ecab2..39204d7368fe 100644 --- a/gcc/config/sparc/t-sol2-64 +++ b/gcc/config/sparc/t-sol2-64 @@ -5,6 +5,7 @@ MULTILIB_MATCHES = LIBGCC = stmp-multilib INSTALL_LIBGCC = install-multilib -EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o gmon.o crt1.o crti.o crtn.o gcrt1.o +EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o gmon.o crt1.o crti.o crtn.o gcrt1.o \ + crtfastmath.o SHLIB_SLIBDIR_SUFFIXES = sparcv9:/sparcv9 sparcv7: