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