mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
02fe3feb71
The BFD linker requires the `COMMONPAGESIZE` emulation parameter to be set in order to enable RELRO support for AArch64. As we are adding a custom `emulparams` file anyways, let's also tell LD that our ELF interpreter is called `/usr/lib/Loader.so`. This commit also removes some vestigial references to i686 SerenityOS. The one in `gas/configure.tgt` is still needed, as it also handles x86_64. |
||
---|---|---|
.. | ||
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.