summaryrefslogtreecommitdiffstats
path: root/patches/glibc-2.13/0004-configure-in-sane-readelf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/glibc-2.13/0004-configure-in-sane-readelf.patch')
-rw-r--r--patches/glibc-2.13/0004-configure-in-sane-readelf.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/patches/glibc-2.13/0004-configure-in-sane-readelf.patch b/patches/glibc-2.13/0004-configure-in-sane-readelf.patch
deleted file mode 100644
index ff445af..0000000
--- a/patches/glibc-2.13/0004-configure-in-sane-readelf.patch
+++ /dev/null
@@ -1,35 +0,0 @@
----
- configure.in | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-Index: glibc-2.13/configure.in
-===================================================================
---- glibc-2.13.orig/configure.in
-+++ glibc-2.13/configure.in
-@@ -1475,6 +1475,8 @@ EOF
- fi
- fi
-
-+ AC_CHECK_TARGET_TOOL([READELF],[readelf],[readelf],[$PATH])
-+
- AC_CACHE_CHECK(for .preinit_array/.init_array/.fini_array support,
- libc_cv_initfini_array, [dnl
- cat > conftest.c <<EOF
-@@ -1486,7 +1488,7 @@ EOF
- if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
- -static -nostartfiles -nostdlib 1>&AS_MESSAGE_LOG_FD])
- then
-- if readelf -S conftest | fgrep INIT_ARRAY > /dev/null; then
-+ if $READELF -S conftest | fgrep INIT_ARRAY > /dev/null; then
- libc_cv_initfini_array=yes
- else
- libc_cv_initfini_array=no
-@@ -1673,7 +1675,7 @@ dnl cross-platform since the gcc used ca
- dnl introducing new options this is not easily doable. Instead use a tool
- dnl which always is cross-platform: readelf. To detect whether -z combreloc
- dnl look for a section named .rel.dyn.
-- if readelf -S conftest.so | grep '\.rel\(a\|\)\.dyn' > /dev/null; then
-+ if $READELF -S conftest.so | grep '\.rel\(a\|\)\.dyn' > /dev/null; then
- libc_cv_z_combreloc=yes
- else
- libc_cv_z_combreloc=no