diff options
| author | Ard Biesheuvel <[email protected]> | 2018-11-22 09:46:46 +0100 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2018-11-27 19:00:45 +0000 |
| commit | bdb85cd1d20669dfae813555dddb745ad09323ba (patch) | |
| tree | af519f4e76f6d913d7ed665a12c4cdc51512edb6 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 7aaf7b2fd26c3a069472dd9778367b2f941dd866 (diff) | |
arm64/module: switch to ADRP/ADD sequences for PLT entries
Now that we have switched to the small code model entirely, and
reduced the extended KASLR range to 4 GB, we can be sure that the
targets of relative branches that are out of range are in range
for a ADRP/ADD pair, which is one instruction shorter than our
current MOVN/MOVK/MOVK sequence, and is more idiomatic and so it
is more likely to be implemented efficiently by micro-architectures.
So switch over the ordinary PLT code and the special handling of
the Cortex-A53 ADRP errata, as well as the ftrace trampline
handling.
Reviewed-by: Torsten Duwe <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
[will: Added a couple of comments in the plt equality check]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions