elf64lriscv.sh 456 B

123456789101112131415
  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. # On Linux, first look for 64 bit LP64D target libraries in /lib64/lp64d 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/lp64d 64";;
  12. esac
  13. ;;
  14. esac