public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] s390: use $READELF
@ 2022-06-21 8:17 Stefan Liebler
0 siblings, 0 replies; only message in thread
From: Stefan Liebler @ 2022-06-21 8:17 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c376ff3287b9b0f78a4f8951313c6dae60cbdfea
commit c376ff3287b9b0f78a4f8951313c6dae60cbdfea
Author: Sam James <sam@gentoo.org>
Date: Thu Jun 9 03:56:22 2022 +0100
s390: use $READELF
We already check for it in root configure.ac with AC_CHECK_TOOL. Let's
use the result.
Tested on s390x-ibm-linux-gnu.
Signed-off-by: Sam James <sam@gentoo.org>
Reviewed-by: Stefan Liebler <stli@linux.ibm.com>
Diff:
---
sysdeps/s390/s390-64/configure | 2 +-
sysdeps/s390/s390-64/configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sysdeps/s390/s390-64/configure b/sysdeps/s390/s390-64/configure
index 101c570d2e..e1b419ef27 100644
--- a/sysdeps/s390/s390-64/configure
+++ b/sysdeps/s390/s390-64/configure
@@ -50,7 +50,7 @@ EOF
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; } \
- && { ac_try='! readelf -Wr conftest | grep R_390_TLS_TPOFF'
+ && { ac_try='! $READELF -Wr conftest | grep R_390_TLS_TPOFF'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
(eval $ac_try) 2>&5
ac_status=$?
diff --git a/sysdeps/s390/s390-64/configure.ac b/sysdeps/s390/s390-64/configure.ac
index 2583a4a335..245d83493c 100644
--- a/sysdeps/s390/s390-64/configure.ac
+++ b/sysdeps/s390/s390-64/configure.ac
@@ -31,7 +31,7 @@ EOF
if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -fPIE -c conftest1.c -o conftest1.o]) \
&& AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -fPIE -c conftest2.c -o conftest2.o]) \
&& AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -o conftest conftest1.o conftest2.o]) \
- && AC_TRY_COMMAND([! readelf -Wr conftest | grep R_390_TLS_TPOFF])
+ && AC_TRY_COMMAND([! $READELF -Wr conftest | grep R_390_TLS_TPOFF])
then
libc_cv_s390x_staticpie_req=yes
fi
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-21 8:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21 8:17 [glibc] s390: use $READELF Stefan Liebler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).