Skip to content

Add support for LoongArch

WÁNG Xuěruì requested to merge xen0n/libbsd:loongarch into main

I don't know if GitLab MRs are the preferred way to submit changes now, so apologizes ahead and I'll switch to the mailing list if that's still the right way to contribute.

This MR adds support for building under the LoongArch architecture; information about this architecture can be found in the links below.

The EM_LOONGARCH constant is already approved earlier, and the built-in #defined names are expected to be supported both by their early in-house version and upstream versions. 32-bit support is incomplete and redacted by Loongson, so this MR probes for 64-bit only.

Merge request reports