bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/30907] ELF segment add extra 2 LOAD segments in aarch64, making


From: nickc at redhat dot com
Subject: [Bug ld/30907] ELF segment add extra 2 LOAD segments in aarch64, making binary bigger 128KiB than before
Date: Mon, 09 Oct 2023 12:33:55 +0000

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

--- Comment #5 from Nick Clifton <nickc at redhat dot com> ---
(In reply to nilus from comment #3)

> I agree that this is a security issue, Separating data and code is a best
> practice. But I wonder that why the alignment is not the kernel PAGESIZE(I
> set PAGE_SIZE to 4096 when compiling, but the alignment is still 65535)? 
> Whether can we make ELF_MAXPAGESIZE in elf-*.c match the kernel PAGE_SIZE? 

You are using the Fedora binutils, right ?  That version of the binutils
changes the default page size of 0x10000, which is why you are seeing that
value in your binaries.

Cheers
  Nick

-- 
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]