Commit | Line | Data |
---|---|---|
10d98088 JW |
1 | # RV32 code using ILP32D ABI. |
2 | # ABI not in emulation name to avoid breaking backward compatibility. | |
e23eba97 NC |
3 | . ${srcdir}/emulparams/elf32lriscv-defs.sh |
4 | OUTPUT_FORMAT="elf32-littleriscv" | |
10d98088 JW |
5 | |
6 | # On Linux, first look for 32 bit ILP32D target libraries in /lib/ilp32d as per | |
7 | # the glibc ABI. | |
8 | case "$target" in | |
9 | riscv32*-linux*) | |
10 | case "$EMULATION_NAME" in | |
11 | *32*) | |
12 | LIBPATH_SUFFIX="/ilp32d" ;; | |
13 | esac | |
14 | ;; | |
15 | esac |