From 1776babbd180ffed0ca453a7c63d2f6049e96db3 Mon Sep 17 00:00:00 2001 From: Christian Helmuth Date: Tue, 9 Aug 2016 12:15:29 +0200 Subject: [PATCH] Revert "arm: prevent 64K default alignment of text segment" This reverts commit 2127c8acf2d9fdc72a0b73468dfedaee26e0081d because the alignment is already sanitized by commit 11c31c44327935586a1735a64aa9e919b93bbd40. (discussed here https://github.com/genodelabs/genode/commit/2127c8acf2d9fdc72a0b73468dfedaee26e0081d) --- repos/base/mk/spec/arm.mk | 8 -------- 1 file changed, 8 deletions(-) diff --git a/repos/base/mk/spec/arm.mk b/repos/base/mk/spec/arm.mk index 17442db08c..713985ec16 100644 --- a/repos/base/mk/spec/arm.mk +++ b/repos/base/mk/spec/arm.mk @@ -11,12 +11,4 @@ SPECS += 32bit # CC_OPT += -Wno-psabi -# -# By default, the linker produces ELF binaries where the test segment is -# aligned to the largest page size. On ARM this is 64K. As a result, the -# produced binaries contain almost 64K zeros preceding the text segment. -# The patch enforces the text segment to be aligned to 4K instead. -# -LD_MARCH += -z max-page-size=0x1000 - include $(call select_from_repositories,mk/spec/32bit.mk)