@@ -329,10 +329,10 @@ build the GNU C Library:
recommend GNU `make' version 3.79. All earlier versions have
severe bugs or lack features.
- * GCC 4.4 or newer, GCC 4.6 recommended
+ * GCC 4.6 or newer
- GCC 4.4 or higher is required; as of this writing, GCC 4.6 is the
- compiler we advise to use to build the GNU C Library.
+ GCC 4.6 or higher is required; as of release time, GCC 4.9 is the
+ newest compiler verified to work to build the GNU C Library.
You can use whatever compiler you like to compile programs that use
the GNU C Library.
@@ -14,6 +14,10 @@ Version 2.21
17555, 17570, 17571, 17572, 17573, 17574, 17582, 17583, 17584, 17585,
17589, 17594.
+* The minimum GCC version that can be used to build this version of the GNU
+ C Library is GCC 4.6. Older GCC versions, and non-GNU compilers, can
+ still be used to compile programs using the GNU C Library.
+
* New locales: tu_IN, bh_IN.
Version 2.20
@@ -4929,7 +4929,7 @@ int
main ()
{
-#if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)
+#if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6)
#error insufficient compiler
#endif
;
@@ -934,7 +934,7 @@ AC_CHECK_PROG_VER(AWK, gawk, --version,
AC_CACHE_CHECK([if $CC is sufficient to build libc], libc_cv_compiler_ok, [
AC_TRY_COMPILE([], [
-#if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)
+#if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6)
#error insufficient compiler
#endif],
[libc_cv_compiler_ok=yes],
@@ -372,10 +372,10 @@ recommend GNU @code{make} version 3.79. All earlier versions have severe
bugs or lack features.
@item
-GCC 4.4 or newer, GCC 4.6 recommended
+GCC 4.6 or newer
-GCC 4.4 or higher is required; as of this writing, GCC 4.6 is the
-compiler we advise to use to build @theglibc{}.
+GCC 4.6 or higher is required; as of release time, GCC 4.9 is the
+newest compiler verified to work to build @theglibc{}.
You can use whatever compiler you like to compile programs that use
@theglibc{}.
@@ -109,8 +109,7 @@
/* If compiled for profiling, call `mcount' at the start of each function. */
#ifdef PROF
-/* Call __gnu_mcount_nc if GCC >= 4.4. */
-#if __GNUC_PREREQ(4,4)
+/* Call __gnu_mcount_nc (GCC >= 4.4). */
#define CALL_MCOUNT \
push {lr}; \
cfi_adjust_cfa_offset (4); \
@@ -118,16 +117,6 @@
bl PLTJMP(mcount); \
cfi_adjust_cfa_offset (-4); \
cfi_restore (lr)
-#else /* else call _mcount */
-#define CALL_MCOUNT \
- push {lr}; \
- cfi_adjust_cfa_offset (4); \
- cfi_rel_offset (lr, 0); \
- bl PLTJMP(mcount); \
- pops {lr}; \
- cfi_adjust_cfa_offset (-4); \
- cfi_restore (lr)
-#endif
#else
#define CALL_MCOUNT /* Do nothing. */
#endif
@@ -136,11 +125,7 @@
on this system, the asm identifier `syscall_error' intrudes on the
C name space. Make sure we use an innocuous name. */
#define syscall_error __syscall_error
-#if __GNUC_PREREQ(4,4)
#define mcount __gnu_mcount_nc
-#else
-#define mcount _mcount
-#endif
/* Tag_ABI_align8_preserved: This code preserves 8-byte
alignment in any callee. */
@@ -1,17 +1,8 @@
#include <features.h>
#ifdef __FMA4__
-# if __GNUC_PREREQ (4, 6)
-# define DLA_FMS(x,y,z) \
+# define DLA_FMS(x,y,z) \
__builtin_fma (x, y, -(z))
-# else
-# define DLA_FMS(x,y,z) \
- ({ double __z; \
- asm ("vfmsubsd %3, %2, %1, %0" \
- : "=x" (__z) \
- : "x" ((double) (x)), "xm" ((double) (y)) , "x" ((double) (z))); \
- __z; })
-# endif
#endif
#include "sysdeps/ieee754/dbl-64/dla.h"