diff options
author | Suzuki K Poulose <[email protected]> | 2016-09-09 14:07:13 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2016-09-09 15:03:28 +0100 |
commit | c831b2ae257853ecd36ea4f7d788bf0665e4cf89 (patch) | |
tree | e00da72bef46c833390c94483c9d22714a6d1ded /lib/test-string_helpers.c | |
parent | 46084bc253e1acdd6c47846e91fc20f4ab4f1fec (diff) |
arm64: alternative: Add support for patching adrp instructions
adrp uses PC-relative address offset to a page (of 4K size) of
a symbol. If it appears in an alternative code patched in, we
should adjust the offset to reflect the address where it will
be run from. This patch adds support for fixing the offset
for adrp instructions.
Cc: Will Deacon <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Andre Przywara <[email protected]>
Cc: Mark Rutland <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions