aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2012-05-18 09:08:14 +0200
committerAndreas Jaeger <aj@suse.de>2012-05-18 09:08:14 +0200
commit7a185db2b7f9853d35fbd1396a56d0c7a64b4bd9 (patch)
treeb1137f4f210ccd1f79b6586b94648460f4a0f4d0 /sysdeps/x86_64
parent428bd7074c3db7f9258294189a92f1ec19956c6e (diff)
downloadglibc-7a185db2b7f9853d35fbd1396a56d0c7a64b4bd9.tar
glibc-7a185db2b7f9853d35fbd1396a56d0c7a64b4bd9.tar.gz
glibc-7a185db2b7f9853d35fbd1396a56d0c7a64b4bd9.tar.bz2
glibc-7a185db2b7f9853d35fbd1396a56d0c7a64b4bd9.zip
Do not provide inlines for GCC build-in functions
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/fpu/bits/mathinline.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/x86_64/fpu/bits/mathinline.h b/sysdeps/x86_64/fpu/bits/mathinline.h
index 49a199b60b..7cfe688744 100644
--- a/sysdeps/x86_64/fpu/bits/mathinline.h
+++ b/sysdeps/x86_64/fpu/bits/mathinline.h
@@ -1,5 +1,5 @@
/* Inline math functions for x86-64.
- Copyright (C) 2002-2004,2007,2009,2011,2012 Free Software Foundation, Inc.
+ Copyright (C) 2002-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -68,7 +68,10 @@ __END_NAMESPACE_C99
#endif
-#if __GNUC_PREREQ (2, 8) && !defined __NO_MATH_INLINES && defined __OPTIMIZE__
+#if __GNUC_PREREQ (2, 8) && !__GNUC_PREREQ (3, 4) \
+ && !defined __NO_MATH_INLINES && defined __OPTIMIZE__
+/* GCC 3.4 introduced builtins for all functions below, so
+ there's no need to define any of these inline functions. */
# ifdef __USE_ISOC99
__BEGIN_NAMESPACE_C99