aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.ac
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-10-11 12:04:42 +0100
committerNick Clifton <nickc@redhat.com>2016-10-11 12:13:43 +0100
commit199fa1b7089d7f7438b087fa30504ea5a590f561 (patch)
tree7cbfb0745751bb172694d4d402d354d37b697e21 /ld/configure.ac
parent93562a343c26f67d2bd0e93cceb18a0a793087c2 (diff)
downloadgdb-199fa1b7089d7f7438b087fa30504ea5a590f561.zip
gdb-199fa1b7089d7f7438b087fa30504ea5a590f561.tar.gz
gdb-199fa1b7089d7f7438b087fa30504ea5a590f561.tar.bz2
Add support to the static linker for the tokens accepted by the dynamic linker when resolving search paths.
PR ld/20535 * emultempl/elf32.em (_search_needed): Add support for pseudo environment variables supported by ld.so. Namely $ORIGIN, $LIB and $PLATFORM. * configure.ac: Add getauxval to list AC_CHECK_FUNCS list. * config.in: Regenerate. * configure: Regenerate.
Diffstat (limited to 'ld/configure.ac')
-rw-r--r--ld/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/configure.ac b/ld/configure.ac
index d17281f..4542845 100644
--- a/ld/configure.ac
+++ b/ld/configure.ac
@@ -216,7 +216,7 @@ AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h elf-hints.h limits.h local
AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h sys/stat.h)
ACX_HEADER_STRING
AC_CHECK_FUNCS(glob mkstemp realpath sbrk setlocale waitpid)
-AC_CHECK_FUNCS(open lseek close)
+AC_CHECK_FUNCS(getauxval open lseek close)
AC_HEADER_DIRENT
dnl AC_CHECK_HEADERS(sys/mman.h)