llvm-project/lld/ELF/Arch
Tobias Hieta 87383e408d [ELF][ARM] Increase default max-page-size from 4096 to 6536
See http://lists.llvm.org/pipermail/llvm-dev/2020-April/140549.html

For the record, GNU ld changed to 64k max page size in 2014
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=7572ca8989ead4c3425a1500bc241eaaeffa2c89
"[RFC] ld/ARM: Increase maximum page size to 64kB"

Android driver forced 4k page size in AArch64 (D55029) and ARM (D77746).

A binary linked with max-page-size=4096 does not run on a system with a
higher page size configured. There are some systems out there that do
this and it leads to the binary getting `Killed!` by the kernel.

In the non-linker-script cases, when linked with -z noseparate-code
(default), the max-page-size increase should not cause any size
difference. There may be some VMA usage differences, though.

Reviewed By: psmith, MaskRay

Differential Revision: https://reviews.llvm.org/D77330
2020-04-18 08:19:45 -07:00
..
AArch64.cpp [LLD][ELF][AArch64] Change the semantics of -z pac-plt. 2020-02-18 09:56:57 +01:00
AMDGPU.cpp [ELF] Rename relocateOne() to relocate() and pass `Relocation` to it 2020-01-25 12:00:18 -08:00
ARM.cpp [ELF][ARM] Increase default max-page-size from 4096 to 6536 2020-04-18 08:19:45 -07:00
AVR.cpp [ELF] Rename relocateOne() to relocate() and pass `Relocation` to it 2020-01-25 12:00:18 -08:00
Hexagon.cpp Add duplex to R_HEX_GOT_16_X 2020-04-13 19:32:44 -05:00
MSP430.cpp [ELF] Rename relocateOne() to relocate() and pass `Relocation` to it 2020-01-25 12:00:18 -08:00
Mips.cpp [ELF] Rename relocateOne() to relocate() and pass `Relocation` to it 2020-01-25 12:00:18 -08:00
MipsArchTree.cpp [ELF] Wrap things in `namespace lld { namespace elf {`, NFC 2019-10-07 08:31:18 +00:00
PPC.cpp [ELF][PPC32] Fix canonical PLTs when the order does not match the PLT order 2020-02-28 22:23:14 -08:00
PPC64.cpp [lld] NFC: fix trivial typos in comments 2020-04-02 01:21:36 +09:00
RISCV.cpp [ELF][RISCV] Add R_RISCV_IRELATIVE 2020-02-10 20:22:39 -08:00
SPARCV9.cpp [ELF] Support a few more SPARCv9 relocations 2020-04-17 08:12:15 -07:00
X86.cpp [ELF] Rename relocateOne() to relocate() and pass `Relocation` to it 2020-01-25 12:00:18 -08:00
X86_64.cpp LLD Support for Basic Block Sections 2020-04-07 06:55:57 -07:00