Commit | Line | Data |
---|---|---|
1 | # RV64 code using LP64D ABI. | |
2 | # ABI not in emulation name to avoid breaking backward compatibility. | |
3 | source_sh ${srcdir}/emulparams/elf64lriscv-defs.sh | |
4 | OUTPUT_FORMAT="elf64-littleriscv" | |
5 | ||
6 | # On Linux, first look for 64 bit LP64D target libraries in /lib64/lp64d as per | |
7 | # the glibc ABI, and then /lib64 for backward compatility. | |
8 | case "$target" in | |
9 | riscv64*-linux*) | |
10 | case "$EMULATION_NAME" in | |
11 | *64*) | |
12 | LIBPATH_SUFFIX="64/lp64d 64";; | |
13 | esac | |
14 | ;; | |
15 | esac |