1# RV64 code using LP64D ABI.
2# ABI not in emulation name to avoid breaking backward compatibility.
3source_sh ${srcdir}/emulparams/elf64lriscv-defs.sh
4OUTPUT_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.
8case "$target" in
9  riscv64*-linux*)
10    case "$EMULATION_NAME" in
11      *64*)
12	LIBPATH_SUFFIX="64/lp64d 64";;
13    esac
14    ;;
15esac
16