about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-06-25 20:26:14 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-06-25 20:26:14 +0000
commitc2570a0b35fa8f4568f3897f4f7db8cb5515383f (patch)
tree8446725cc5b9eaa75c133225113b84193d1e5261 /sysdeps/i386
parent11b076bbae4c41dd44997a7031a59f525322a130 (diff)
downloadglibc-c2570a0b35fa8f4568f3897f4f7db8cb5515383f.tar.gz
glibc-c2570a0b35fa8f4568f3897f4f7db8cb5515383f.tar.xz
glibc-c2570a0b35fa8f4568f3897f4f7db8cb5515383f.zip
Move USE_REGPARMS define to sysdeps/i386/configure.ac.
This patch moves the USE_REGPARMS define from the toplevel
configure.ac to sysdeps/i386/configure.ac.

Tested x86 that the disassembly of installed shared libraries is
unchanged by this patch.

	* configure.ac (USE_REGPARMS): Don't define here.
	* configure: Regenerated.
	* sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
	* sysdeps/i386/configure: Regenerated.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/configure3
-rw-r--r--sysdeps/i386/configure.ac2
2 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/i386/configure b/sysdeps/i386/configure
index 5dcc159900..f0a20e3d3b 100644
--- a/sysdeps/i386/configure
+++ b/sysdeps/i386/configure
@@ -240,5 +240,8 @@ $as_echo "$libc_cv_cc_novzeroupper" >&6; }
 config_vars="$config_vars
 config-cflags-novzeroupper = $libc_cv_cc_novzeroupper"
 
+$as_echo "#define USE_REGPARMS 1" >>confdefs.h
+
+
 $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h
 
diff --git a/sysdeps/i386/configure.ac b/sysdeps/i386/configure.ac
index 96ab7b0f5a..dfe0b47343 100644
--- a/sysdeps/i386/configure.ac
+++ b/sysdeps/i386/configure.ac
@@ -88,6 +88,8 @@ LIBC_TRY_CC_OPTION([-mno-vzeroupper],
 ])
 LIBC_CONFIG_VAR([config-cflags-novzeroupper], [$libc_cv_cc_novzeroupper])
 
+AC_DEFINE(USE_REGPARMS)
+
 dnl It is always possible to access static and hidden symbols in an
 dnl position independent way.
 AC_DEFINE(PI_STATIC_AND_HIDDEN)