commit | d54e81f9af1d106e47ae8594903c43a80dae1a99 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Mon Sep 29 11:44:01 2014 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Fri Nov 14 10:42:15 2014 +0000 |
tree | e3084f896a27a4658a718643a589169c51f0aa27 | |
parent | 44b82b7700d05a52cd983799d3ecde1a976b3bed [diff] |
arm64: entry: avoid writing lr explicitly for constructing return paths Using an explicit adr instruction to set the link register to point at ret_fast_syscall/ret_to_user can defeat branch and return stack predictors. Instead, use the standard calling instructions (bl, blr) and have an unconditional branch as the following instruction. Signed-off-by: Will Deacon <will.deacon@arm.com>