summaryrefslogtreecommitdiff
path: root/ld/emulparams/elf32lriscv.sh
diff options
context:
space:
mode:
authorJim Wilson <jimw@sifive.com>2018-09-20 12:06:28 -0700
committerJim Wilson <jimw@sifive.com>2018-09-20 12:06:28 -0700
commitdbfcd05365abb8c919517df8b6d718bb85b0aefe (patch)
treea3088f53f4c692c7a2e047fe65e39dfaa277e3d9 /ld/emulparams/elf32lriscv.sh
parentc475f569191cc0257bf0959c3475ca08644125b1 (diff)
downloadbinutils-gdb-dbfcd05365abb8c919517df8b6d718bb85b0aefe.tar.gz
RISC-V: Fix library search path for rv32.
2018-09-19 Kito Cheng <kito@andestech.com> ld/ * emulparams/elf32lriscv.sh: Correct the library search path. * emulparams/elf32lriscv_ilp32.sh: Likewise. * emulparams/elf32lriscv_ilp32f.sh: Likewise.
Diffstat (limited to 'ld/emulparams/elf32lriscv.sh')
-rw-r--r--ld/emulparams/elf32lriscv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emulparams/elf32lriscv.sh b/ld/emulparams/elf32lriscv.sh
index e91f884cec4..e405da353c0 100644
--- a/ld/emulparams/elf32lriscv.sh
+++ b/ld/emulparams/elf32lriscv.sh
@@ -9,7 +9,7 @@ case "$target" in
riscv32*-linux*)
case "$EMULATION_NAME" in
*32*)
- LIBPATH_SUFFIX="/ilp32d" ;;
+ LIBPATH_SUFFIX="32/ilp32d 32" ;;
esac
;;
esac