mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 12:30:59 +00:00
This makes `ARCH=riscv64 Toolchain/BuildGNU.sh` work, but the patches might not be completely correct. |
||
|---|---|---|
| .. | ||
| 0001-Add-support-for-SerenityOS.patch | ||
| ReadMe.md | ||
Patches for binutils on SerenityOS
0001-Add-support-for-SerenityOS.patch
Add support for SerenityOS
Teaches the assembler, BFD, and the linker about the SerenityOS target triple.
We set '/' to not start a comment in GAS, as the QEMU port uses it for division in constant expressions in assembly files (cf. as --divide).
/usr/lib/Loader.so is set as the default ELF interpreter.
On AArch64, we set COMMONPAGESIZE to enable RELRO support.