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
5df47d3527
commit
fb58e92621
@ -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…
Reference in New Issue
Block a user