summaryrefslogtreecommitdiff
path: root/patches/eglibc/2_15/100-Remove-test-for-__builtin_expect.patch
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-01-28 06:43:25 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-01-28 06:43:25 (GMT)
commitcd47c091ba6f7d6d9a98c85fc5729a434c99d4ea (patch)
tree9c347ec958c9e2c01787c73c6f5f4a0ac992a634 /patches/eglibc/2_15/100-Remove-test-for-__builtin_expect.patch
parentefd8225d2ae1745a6cc797323777dacb08430fca (diff)
eglibc: Remove eglibc support
As posted on http://www.eglibc.org/ ==================== EGLIBC is no longer developed and such goals are now being addressed directly in GLIBC. ==================== I'm not interested in maintaining build support for unsupported software. Older branches of crosstool-ng continue to have eglibc support. If you find issues with older branches, I'm always open to pull requests. Removing eglibc also frees up glibc cleanup and build optimization. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'patches/eglibc/2_15/100-Remove-test-for-__builtin_expect.patch')
-rw-r--r--patches/eglibc/2_15/100-Remove-test-for-__builtin_expect.patch78
1 files changed, 0 insertions, 78 deletions
diff --git a/patches/eglibc/2_15/100-Remove-test-for-__builtin_expect.patch b/patches/eglibc/2_15/100-Remove-test-for-__builtin_expect.patch
deleted file mode 100644
index ed2d1ce..0000000
--- a/patches/eglibc/2_15/100-Remove-test-for-__builtin_expect.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-diff --git a/configure b/configure
-index e5e0184..85da2bc 100755
---- a/configure
-+++ b/configure
-@@ -7567,40 +7567,6 @@ _ACEOF
- fi
- fi
-
--{ $as_echo "$as_me:$LINENO: checking for __builtin_expect" >&5
--$as_echo_n "checking for __builtin_expect... " >&6; }
--if test "${libc_cv_gcc_builtin_expect+set}" = set; then
-- $as_echo_n "(cached) " >&6
--else
-- cat > conftest.c <<EOF
--#line $LINENO "configure"
--int foo (int a)
--{
-- a = __builtin_expect (a, 10);
-- return a == 10 ? 0 : 1;
--}
--EOF
--if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
-- -o conftest conftest.c -lgcc >&5'
-- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-- (eval $ac_try) 2>&5
-- ac_status=$?
-- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-- (exit $ac_status); }; }; then
-- libc_cv_gcc_builtin_expect=yes
--else
-- libc_cv_gcc_builtin_expect=no
--fi
--rm -f conftest*
--fi
--{ $as_echo "$as_me:$LINENO: result: $libc_cv_gcc_builtin_expect" >&5
--$as_echo "$libc_cv_gcc_builtin_expect" >&6; }
--if test "$libc_cv_gcc_builtin_expect" = no; then
-- { { $as_echo "$as_me:$LINENO: error: support for __builtin_expect needed" >&5
--$as_echo "$as_me: error: support for __builtin_expect needed" >&2;}
-- { (exit 1); exit 1; }; }
--fi
--
- { $as_echo "$as_me:$LINENO: checking for __builtin_memset" >&5
- $as_echo_n "checking for __builtin_memset... " >&6; }
- if test "${libc_cv_gcc_builtin_memset+set}" = set; then
-diff --git a/configure.in b/configure.in
-index 4655c8a..596443d 100644
---- a/configure.in
-+++ b/configure.in
-@@ -2134,28 +2134,6 @@ if test "$libc_cv_c_asmcr0_bug" != 'no'; then
- fi
- fi
-
--dnl Check whether compiler understands __builtin_expect.
--AC_CACHE_CHECK(for __builtin_expect, libc_cv_gcc_builtin_expect,
--[cat > conftest.c <<EOF
--#line $LINENO "configure"
--int foo (int a)
--{
-- a = __builtin_expect (a, 10);
-- return a == 10 ? 0 : 1;
--}
--EOF
--dnl No \ in command here because it ends up inside ''.
--if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
-- -o conftest conftest.c -lgcc >&AS_MESSAGE_LOG_FD]); then
-- libc_cv_gcc_builtin_expect=yes
--else
-- libc_cv_gcc_builtin_expect=no
--fi
--rm -f conftest*])
--if test "$libc_cv_gcc_builtin_expect" = no; then
-- AC_MSG_ERROR([support for __builtin_expect needed])
--fi
--
- AC_CACHE_CHECK(for __builtin_memset, libc_cv_gcc_builtin_memset, [dnl
- cat > conftest.c <<\EOF
- void zero (void *x)