elf32lriscv.sh 417 B

123456789101112131415
  1. # RV32 code using ILP32D ABI.
  2. # ABI not in emulation name to avoid breaking backward compatibility.
  3. source_sh ${srcdir}/emulparams/elf32lriscv-defs.sh
  4. OUTPUT_FORMAT="elf32-littleriscv"
  5. # On Linux, first look for 32 bit ILP32D target libraries in /lib/ilp32d as per
  6. # the glibc ABI.
  7. case "$target" in
  8. riscv32*-linux*)
  9. case "$EMULATION_NAME" in
  10. *32*)
  11. LIBPATH_SUFFIX="32/ilp32d 32" ;;
  12. esac
  13. ;;
  14. esac