summaryrefslogtreecommitdiff
path: root/IntelFspPkg
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-08-20 06:39:12 +0000
committerabiesheuvel <abiesheuvel@Edk2>2015-08-20 06:39:12 +0000
commit06cd7231257fda117136960bb996e83eaa9e8381 (patch)
treeb8b885b71c77c49cf02a2c18feb59e94155088c2 /IntelFspPkg
parentad93e042986d1c8850f2be47142b253c0f3f110b (diff)
downloadedk2-platforms-06cd7231257fda117136960bb996e83eaa9e8381.tar.xz
BaseTools AARCH64: use tiny code model by default
The AARCH64 tiny code model produces more efficient code, since it uses relative symbol references rather than absolute references, i.e., an emitted relative reference refers to the symbol directly rather than a literal containing its 64-bit absolute address. This saves space in the binary, and reduces the number of relocation fixups that need to be applied by the PE/COFF loader. So now that we support relative relocations in GenFw, move to the tiny code model by default. Note that the large model can still be selected by individual modules by adding -mcmodel=large to the appropriate CC_FLAGS. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> Tested-by: Leif Lindholm <leif.lindholm@linaro.org> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18242 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFspPkg')
0 files changed, 0 insertions, 0 deletions