[PATCH] riscv: Add big-endian support to string-fzi.h.
Jovan Dmitrovic
jovan.dmitrovic@htecgroup.com
Wed Jun 10 14:32:26 GMT 2026
Hello everyone,
thank you for the replies. We should be able to see big-endian be
introduced into psABI in the near future:
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pull/470
There are efforts across the board in order to introduce
big-endian RISC-V (GCC and qemu already have support for BE).
So I've sent this patch in order to get this process underway
for glibc as well. There are some things that are definitely
missing, but I will be sending patches as I go.
Regards,
Jovan
On 6/8/26 15:33, Carlos O'Donell wrote:
> On 6/3/26 9:52 AM, Jovan Dmitrovic wrote:
>> Functions index_first and index_last should depend on endianness,
>> considering we are looking at raw bytes.
>
> Is RISC-V BE officially supported by the ecosystem at large?
>
> We only support 2 LE variants in glibc's official ABI list:
> https://sourceware.org/glibc/wiki/ABIList#RISC-V
>
> --
> Cheers,
> Carlos.
>
More information about the Libc-alpha
mailing list