1# RV64 code using LP64 ABI.
2source_sh ${srcdir}/emulparams/elf64lriscv-defs.sh
3OUTPUT_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.
7case "$target" in
8  riscv64*-linux*)
9    case "$EMULATION_NAME" in
10      *64*)
11	LIBPATH_SUFFIX="64/lp64 64";;
12    esac
13    ;;
14esac
15