[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.
- [Bug ld/30907] ELF segment add extra 2 LOAD segments in aarch64, making binary bigger 128KiB than before, ocs-bot at opencloudos dot tech, 2023/10/07
- [Bug ld/30907] ELF segment add extra 2 LOAD segments in aarch64, making binary bigger 128KiB than before, sam at gentoo dot org, 2023/10/07
- [Bug ld/30907] ELF segment add extra 2 LOAD segments in aarch64, making binary bigger 128KiB than before, i at maskray dot me, 2023/10/08
- [Bug ld/30907] ELF segment add extra 2 LOAD segments in aarch64, making binary bigger 128KiB than before,
nickc at redhat dot com <=
- [Bug ld/30907] ELF segment add extra 2 LOAD segments in aarch64, making binary bigger 128KiB than before, nickc at redhat dot com, 2023/10/09