diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-07-13 13:41:12 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-07-14 17:28:49 +0100 |
commit | 6d73863b5464f382af2a17b2c2ec1abc550d0af5 (patch) | |
tree | 7d6b8d490645a0d2c874648df8d4399e849b0963 /BaseTools/Source/Python/Common/EdkIIWorkspaceBuild.py | |
parent | b926f2f2a4cd404df1d2c1dddbcd1178acc63b5e (diff) | |
download | edk2-6d73863b5464f382af2a17b2c2ec1abc550d0af5.tar.gz edk2-6d73863b5464f382af2a17b2c2ec1abc550d0af5.tar.bz2 edk2-6d73863b5464f382af2a17b2c2ec1abc550d0af5.zip |
BaseTools/tools_def AARCH64: mark register x18 as reserved
The AArch64 ABI classifies register x18 as a platform register, which
means it should not be used unless the code is guaranteed to run on a
platform that doesn't use it in such a capacity.
GCC does not honour this requirement by default, and so we need to tell
it not to touch it explicitly, by passing the -ffixed-x18 command line
option.
Link: https://bugzilla.tianocore.org/show_bug.cgi?id=625
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 'BaseTools/Source/Python/Common/EdkIIWorkspaceBuild.py')
0 files changed, 0 insertions, 0 deletions