From 118aa6cf395aec093fe12d7fb2d05441791a93fa Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 11 Mar 2017 23:37:02 +1030 Subject: [PATCH] Add sysroot for ld -rpath search * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Add sysroot for -rpath search. --- ld/ChangeLog | 5 +++++ ld/emultempl/elf32.em | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index f4baea87d82..86d9378cbb5 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2017-03-11 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Add + sysroot for -rpath search. + 2017-03-11 Alan Modra * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Rewrite. diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 16220d56d6f..d4837d0415a 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1446,7 +1446,9 @@ fragment <