Automatic makefile dependencies for generated ld/e*.c
[external/binutils.git] / ld / emulparams / elf32lriscv_ilp32.sh
1 # RV32 code using ILP32 ABI.
2 source_sh ${srcdir}/emulparams/elf32lriscv-defs.sh
3 OUTPUT_FORMAT="elf32-littleriscv"
4
5 # On Linux, first look for 32 bit ILP32 target libraries in /lib/ilp32 as per
6 # the glibc ABI.
7 case "$target" in
8   riscv32*-linux*)
9     case "$EMULATION_NAME" in
10       *32*)
11         LIBPATH_SUFFIX="32/ilp32 32" ;;
12     esac
13     ;;
14 esac