Daniel Bertalan 1b65d20961
[lld-macho] Diagnose unaligned arm64 PAGEOFF12 relocations
The LDR and STR instructions store their immediate offsets as a multiple
of the load/store's size. Therefore, if the target address is not
aligned, the relocation is not representable. We now emit an error if
that happens, similarly to ld64.

This commit removes a test case from loh-adrp-ldr.s that contained an
unaligned LDR.

Differential Revision: https://reviews.llvm.org/D133269
2022-09-05 16:58:51 +02:00
..
2022-08-02 09:52:31 -04:00
2022-07-19 13:55:56 -07:00
2022-01-19 13:12:18 -08:00
2022-05-13 08:57:08 -04:00
2022-07-26 01:41:51 +02:00
2021-07-15 12:56:13 -04:00
2022-05-11 17:00:39 -07:00
2022-02-01 11:57:04 +00:00
2021-05-11 13:31:32 -04:00
2021-03-29 14:08:12 -04:00
t.s
2021-05-10 15:45:54 -04:00
2021-05-10 15:45:54 -04:00