bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can gold's max page size for AArch64 be updated to 64k to match current


From: Chad Rosier
Subject: Can gold's max page size for AArch64 be updated to 64k to match current kernel capabilities?
Date: Thu, 1 Oct 2015 13:51:28 -0400

When attempting to compile and run binaries using recent versions of the gold linker on AArch64 on a kernel with a 64k page granule, we observe translation faults before the programs reach main(). When these same binaries are run on a kernel with a 4k page granule, they run successfully to completion. We observe that adding ‘-z max-page-size=0x10000’ to our linker flags allows them to run successfully even on a 64k page kernel. We have also observed the following error when loading shared objects at runtime on a 64k-page kernel, and suspect it is due to the same issue:

ELF load command alignment not page-aligned

 

Can gold’s max page size for AArch64 be updated to 64k to match current kernel capabilities?

 

Thanks,

  Chad


reply via email to

[Prev in Thread] Current Thread [Next in Thread]