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.
This commit is contained in:
Nick Clifton
2016-10-11 12:04:42 +01:00
parent 93562a343c
commit 199fa1b708
5 changed files with 166 additions and 2 deletions

2
ld/configure vendored
View File

@@ -16488,7 +16488,7 @@ _ACEOF
fi
done
for ac_func in open lseek close
for ac_func in getauxval open lseek close
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"