bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/29448] aarch64: "has a LOAD segment with RWX permissions"


From: pinskia at gcc dot gnu.org
Subject: [Bug ld/29448] aarch64: "has a LOAD segment with RWX permissions"
Date: Wed, 24 Aug 2022 04:39:05 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29448

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jérôme Forissier from comment #4)
> But then how is it that the LLVM linker (ld.lld) has no problem with that?
> Same, linker script, and even same object files... (it generates 4 LOAD
> segments instead of just 2).

Because LLVM linker is set incorrectly for the max page size. It should be set
to 64k as that as Linux supports 64k page size. See comment #5 otherwise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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