about summary refs log tree commit diff
path: root/soft-fp/fixsfsi.c
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2020-07-09 10:02:06 -0700
committerAlistair Francis <alistair.francis@wdc.com>2020-08-27 08:17:42 -0700
commit708b92e878d8c4bded5dfff9416742ff7793fbd4 (patch)
tree25b1a812cc92f4199b24773fd0de5d29776af8b6 /soft-fp/fixsfsi.c
parent8041759aefa08f01885f50d642e3c43c0cfd5243 (diff)
downloadglibc-708b92e878d8c4bded5dfff9416742ff7793fbd4.tar.gz
glibc-708b92e878d8c4bded5dfff9416742ff7793fbd4.tar.xz
glibc-708b92e878d8c4bded5dfff9416742ff7793fbd4.zip
RISC-V: Add path of library directories for the 32-bit
With RV32 support the list of possible RISC-V system directories
increases to:
     - /lib64/lp64d
     - /lib64/lp64
     - /lib32/ilp32d
     - /lib32/ilp32
     - /lib (only ld.so)

This patch changes the add_system_dir () macro to support the new ilp32d
and ilp32 directories for RV32.  While refactoring this code let's split
out the confusing if statements into a loop to make it easier to
understand and extend.

Reviewed-by: Maciej W. Rozycki <macro@wdc.com>
Diffstat (limited to 'soft-fp/fixsfsi.c')
0 files changed, 0 insertions, 0 deletions