]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/emulparams/elf32lriscv_ilp32f.sh
RISC-V: New emulations to make path searches follow glibc ABI.
[thirdparty/binutils-gdb.git] / ld / emulparams / elf32lriscv_ilp32f.sh
1 # RV32 code using ILP32F ABI.
2 . ${srcdir}/emulparams/elf32lriscv-defs.sh
3 OUTPUT_FORMAT="elf32-littleriscv"
4
5 # On Linux, first look for 32 bit ILP32F target libraries in /lib/ilp32f as per
6 # the glibc ABI.
7 case "$target" in
8 riscv32*-linux*)
9 case "$EMULATION_NAME" in
10 *32*)
11 LIBPATH_SUFFIX="/ilp32f" ;;
12 esac
13 ;;
14 esac