about summary refs log tree commit diff
path: root/config.h.in
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-14 13:03:34 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-14 15:08:48 +0200
commitfbdc1e3e8de7f49e439b6e274d3e7e07da78416e (patch)
treebd3815984855006dfdb547703a24a3f6607bd733 /config.h.in
parentb3f85fd2e43b1d69384396a6d99fa2135dbf46e3 (diff)
downloadglibc-fbdc1e3e8de7f49e439b6e274d3e7e07da78416e.tar.gz
glibc-fbdc1e3e8de7f49e439b6e274d3e7e07da78416e.tar.xz
glibc-fbdc1e3e8de7f49e439b6e274d3e7e07da78416e.zip
i386: Do not set internal_function
All calls to functions with the internal_function attribute
have been removed from assembler implementations, which means that
the definition of internal_function can be changed at the C level
without causing ABI issues with assembler code.

_dl_fixup still uses a regparm calling convention on i386, but this
is controlled through ARCH_FIXUP_ATTRIBUTE, not internal_function.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in10
1 files changed, 0 insertions, 10 deletions
diff --git a/config.h.in b/config.h.in
index 22418576a0..014fb4ea0e 100644
--- a/config.h.in
+++ b/config.h.in
@@ -47,10 +47,6 @@
 #undef	STACK_PROTECTOR_LEVEL
 #endif
 
-/* Define if the regparm attribute shall be used for local functions
-   (gcc on ix86 only).  */
-#undef	USE_REGPARMS
-
 /* Defined on SPARC if GCC emits GOTDATA relocations.  */
 #undef  HAVE_GCC_GOTDATA
 
@@ -100,12 +96,6 @@
 #undef HAVE_AARCH64_BE
 
 
-/* Defined to some form of __attribute__ ((...)) if the compiler supports
-   a different, more efficient calling convention.  */
-#if defined USE_REGPARMS && !defined PROF
-# define internal_function __attribute__ ((regparm (3), stdcall))
-#endif
-
 /* Linux specific: minimum supported kernel version.  */
 #undef	__LINUX_KERNEL_VERSION