mirror of
https://github.com/rhboot/gnu-efi
synced 2026-08-26 00:26:04 -04:00
ARM32: Only use 4K pages
Turns out some linkers have set page size to 64K on ARM32 aswell so apply the same fix as ARM64 Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
parent
6ba063ff00
commit
cd78649395
2 changed files with 2 additions and 2 deletions
|
|
@ -172,7 +172,7 @@ ifeq ($(ARCH),arm)
|
|||
CFLAGS += -marm
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),aarch64)
|
||||
ifneq (,$(filter $(ARCH),aarch64 arm))
|
||||
LDFLAGS += -z common-page-size=4096
|
||||
LDFLAGS += -z max-page-size=4096
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ SECTIONS
|
|||
} =0
|
||||
_reloc_vsize = _evreloc - _reloc;
|
||||
_reloc_size = _ereloc - _reloc;
|
||||
. = ALIGN(4096);
|
||||
. = ALIGN(65536);
|
||||
_data = .;
|
||||
.dynamic : { *(.dynamic) }
|
||||
. = ALIGN(4096);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue