diff options
author | Jim Wilson <jimw@sifive.com> | 2018-09-20 12:06:28 -0700 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2018-09-20 12:06:28 -0700 |
commit | dbfcd05365abb8c919517df8b6d718bb85b0aefe (patch) | |
tree | a3088f53f4c692c7a2e047fe65e39dfaa277e3d9 /ld | |
parent | c475f569191cc0257bf0959c3475ca08644125b1 (diff) | |
download | binutils-dbfcd05365abb8c919517df8b6d718bb85b0aefe.zip binutils-dbfcd05365abb8c919517df8b6d718bb85b0aefe.tar.gz binutils-dbfcd05365abb8c919517df8b6d718bb85b0aefe.tar.bz2 |
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')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/emulparams/elf32lriscv.sh | 2 | ||||
-rw-r--r-- | ld/emulparams/elf32lriscv_ilp32.sh | 2 | ||||
-rw-r--r-- | ld/emulparams/elf32lriscv_ilp32f.sh | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 9d40741..1baf2b7 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2018-09-20 Kito Cheng <kito@andestech.com> + + * emulparams/elf32lriscv.sh: Correct the library search path. + * emulparams/elf32lriscv_ilp32.sh: Likewise. + * emulparams/elf32lriscv_ilp32f.sh: Likewise. + 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com> * emultempl/nds32elf.em (hyper_relax): New variable. diff --git a/ld/emulparams/elf32lriscv.sh b/ld/emulparams/elf32lriscv.sh index e91f884..e405da3 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 diff --git a/ld/emulparams/elf32lriscv_ilp32.sh b/ld/emulparams/elf32lriscv_ilp32.sh index ec676bc..6b6affe 100644 --- a/ld/emulparams/elf32lriscv_ilp32.sh +++ b/ld/emulparams/elf32lriscv_ilp32.sh @@ -8,7 +8,7 @@ case "$target" in riscv32*-linux*) case "$EMULATION_NAME" in *32*) - LIBPATH_SUFFIX="/ilp32" ;; + LIBPATH_SUFFIX="32/ilp32 32" ;; esac ;; esac diff --git a/ld/emulparams/elf32lriscv_ilp32f.sh b/ld/emulparams/elf32lriscv_ilp32f.sh index 63304f9..246f9ed 100644 --- a/ld/emulparams/elf32lriscv_ilp32f.sh +++ b/ld/emulparams/elf32lriscv_ilp32f.sh @@ -8,7 +8,7 @@ case "$target" in riscv32*-linux*) case "$EMULATION_NAME" in *32*) - LIBPATH_SUFFIX="/ilp32f" ;; + LIBPATH_SUFFIX="32/ilp32f 32" ;; esac ;; esac |