1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-13 12:30:59 +00:00
serenity/Toolchain/Patches/binutils
Sönke Holz 9522794a0e Toolchain: Add (basic) support for riscv64
This makes `ARCH=riscv64 Toolchain/BuildGNU.sh` work, but the patches
might not be completely correct.
2023-08-11 09:20:08 +02:00
..
0001-Add-support-for-SerenityOS.patch Toolchain: Add (basic) support for riscv64 2023-08-11 09:20:08 +02:00
ReadMe.md Toolchain: Enable RELRO support for AArch64 2023-05-15 07:00:29 +02:00

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.