Andrew Turner b9aa4537b2 Use adrp in the arm64 efi loader
On startup the arm64 efi loaders need to know PC-relative addresses.
Previously we used the adr instruction to find this address, however this
instruction is limited to +/- 1MiB.

Switch to adrp to find the 4k page the address is within and an add to
set the bottom 12 bits. This lets us address +/- 4GiB which should be
large enough for now.

Reported by:	imp
MFC after:	2 weeks
Sponsored by:	Innovate UK
2020-10-13 16:51:05 +00:00
..
2020-10-09 15:14:19 +00:00
2020-10-13 16:51:05 +00:00
2020-09-22 23:27:09 +00:00
2019-02-26 06:22:10 +00:00
2020-10-09 15:14:19 +00:00
2020-09-11 13:28:37 +00:00
2020-09-08 23:22:11 +00:00
2019-02-26 06:22:10 +00:00
2020-09-14 15:48:30 +00:00
2020-01-23 10:40:34 +00:00
2019-05-24 19:43:38 +00:00