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

2015-10-02 Thread Andreas Schwab


Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2015-10-01 Thread Chad Rosier
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=0x1' 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

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils