summaryrefslogtreecommitdiffstats
path: root/ShellBinPkg
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-07-27 12:08:20 +0200
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-08-02 10:58:25 +0200
commitb89919ee8f8c9441c3514a3c5f352c0901103569 (patch)
tree14149620e7270025332148720812f6c23d906867 /ShellBinPkg
parent026a82abf0bd6268d32f4559dbede00715264f74 (diff)
downloadedk2-b89919ee8f8c9441c3514a3c5f352c0901103569.tar.gz
edk2-b89919ee8f8c9441c3514a3c5f352c0901103569.tar.bz2
edk2-b89919ee8f8c9441c3514a3c5f352c0901103569.zip
BaseTools AARCH64: override XIP module linker alignment to 32 bytes
Now that GenFw converts small code model ADRP instructions to ADR on the fly, we can reduce the alignment for XIP modules, where large alignment values may cause considerable waste of flash space due to excessive padding. This limits the module size to 1 MB, but this is not a concern in practice. So set the XIP section alignment to 0x20 for DEBUG_GCC49, DEBUG_GCC5 and *_CLANG35, all of which use the small code model. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ShellBinPkg')
0 files changed, 0 insertions, 0 deletions