diff options
author | Tobias Hieta <tobias@hieta.se> | 2020-04-18 08:06:37 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-04-18 08:19:45 -0700 |
commit | 87383e408d41623ada41e2bbc371b037fa29e894 (patch) | |
tree | b1ed62b7607e15eb6b57533a6baca53cca5619df /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | a48f0a3c7e9f0f389b6fa35117ae51f1367973f9 (diff) | |
download | llvm-87383e408d41623ada41e2bbc371b037fa29e894.zip llvm-87383e408d41623ada41e2bbc371b037fa29e894.tar.gz llvm-87383e408d41623ada41e2bbc371b037fa29e894.tar.bz2 |
[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
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions