From: Ryan Arnold Date: Mon, 27 Jul 2009 21:09:29 +0000 (-0500) Subject: Revert "backport the pre glibc 2.10 patch which added -mcpu= to ASFLAGS to the... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a2b40ebf949a4cc2888afdee9c9f6c23ff2be14;p=thirdparty%2Fglibc.git Revert "backport the pre glibc 2.10 patch which added -mcpu= to ASFLAGS to the IBM 2.8 branch. It includes two merged patch sets." This reverts commit fd178a794dcd98b27b074cef2d72b16cade6ed2d so that the ASFLAGS patches can be applied in the correct order starting with a missing patch from Roland McGrath. --- diff --git a/Makeconfig b/Makeconfig index ac381d4ed34..d269936f323 100644 --- a/Makeconfig +++ b/Makeconfig @@ -1,4 +1,4 @@ -# Copyright (C) 1991-2003,2004,2005,2006,2007,2008,2009 +# Copyright (C) 1991-2003,2004,2005,2006,2007,2008 # Free Software Foundation, Inc. # This file is part of the GNU C Library. @@ -766,7 +766,7 @@ else ASFLAGS := endif endif -ASFLAGS += $(ASFLAGS-config) $(asflags-cpu) +ASFLAGS += $(ASFLAGS-config) ifndef BUILD_CC BUILD_CC = $(CC) diff --git a/config.make.in b/config.make.in index 7baec736440..3fd0abc65cf 100644 --- a/config.make.in +++ b/config.make.in @@ -31,8 +31,7 @@ base-machine = @base_machine@ config-vendor = @host_vendor@ config-os = @host_os@ config-sysdirs = @sysnames@ -cflags-cpu = @libc_cv_cc_submachine@ -asflags-cpu = @libc_cv_cc_submachine@ +with-cpu = @submachine@ defines = @DEFINES@ sysincludes = @SYSINCLUDES@ diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S new file mode 100644 index 00000000000..7e44cdf0a16 --- /dev/null +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S @@ -0,0 +1,2 @@ +#define _ARCH_PWR6 +#include_next diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S new file mode 100644 index 00000000000..616e3db872e --- /dev/null +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S @@ -0,0 +1,2 @@ +#define _ARCH_PWR6 +#include_next diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S new file mode 100644 index 00000000000..7e44cdf0a16 --- /dev/null +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S @@ -0,0 +1,2 @@ +#define _ARCH_PWR6 +#include_next diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S new file mode 100644 index 00000000000..616e3db872e --- /dev/null +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S @@ -0,0 +1,2 @@ +#define _ARCH_PWR6 +#include_next