diff options
author | Branislav Rankov <branislav.rankov@arm.com> | 2022-12-21 23:49:59 +0000 |
---|---|---|
committer | Juan Yescas <jyescas@google.com> | 2023-01-21 02:38:56 +0000 |
commit | 3e1b2140a8ec6abd5523fa9c315dbef46c02f753 (patch) | |
tree | 9a6f2e3792026390b1baa1bf0276073f4865a9cd | |
parent | 5f765e1e237542bdb03594e82477b45f1335baac (diff) | |
download | soong-main-16k.tar.gz |
16k: Align segments to 16kB for 32bit arm binaries.main-16k
For information about the 16kb page size experiment, see b/253827893
Bug: 264247546
Change-Id: Ie6f676a4d339f6c9720d750ed9b855d5bafced54
-rw-r--r-- | cc/config/arm_device.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/config/arm_device.go b/cc/config/arm_device.go index 981d1eaa6..de22808b6 100644 --- a/cc/config/arm_device.go +++ b/cc/config/arm_device.go @@ -35,6 +35,7 @@ var ( armLdflags = []string{ "-Wl,--hash-style=gnu", "-Wl,-m,armelf", + "-Wl,-z,max-page-size=16384", } armLldflags = armLdflags |