RISC-V 32-bit support
commit0a5466d8d53bc8045ff56ff76cc1880aa85761c2
authorustcymgu@gmail.com <ustcymgu@gmail.com>
Sat, 19 Nov 2022 14:02:55 +0000 (19 14:02 +0000)
committerWaldemar Brodkorb <wbx@openadk.org>
Sun, 20 Nov 2022 07:44:03 +0000 (20 08:44 +0100)
tree5ff1df22a9a052a712318b88cc9c57ff2f963326
parent9e854172e249a383d858fef70368af63a04a28a8
RISC-V 32-bit support

Added 32-bit RISC-V support. I have managed to get 32-bit RISC-V No-MMU
Linux running based on mainstream buildroot. It's nice to have uclibc
support this 32-bit No-MMU target.

There's no substantial code change except definations and config
options.

Signed-off-by: Yimin Gu <ustcymgu@gmail.com>
Rules.mak
extra/Configs/Config.in
extra/Configs/Config.riscv32 [new file with mode: 0644]
libc/sysdeps/linux/riscv32 [new symlink]
libc/sysdeps/linux/riscv64/bits/wordsize.h
libc/sysdeps/linux/riscv64/sys/asm.h