Files
clang-p2996/llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
Eleanor Bonnici 6e3b2cb46e [llvm][MC][ARM][Assembly] Emit relocations for ADRs and big-endian targets (#73834)
Follow-up on https://github.com/llvm/llvm-project/pull/72873/
    
When ADR/LDR instructions reference a label in a different section, the
offset is not known until link time, however, the assembler assumes it
    can resolve them in some cases.
    
    The previous patch addressed the issue for most LDR instructions,
    focusing on little-endian targets.
    
This patch addresses the remaining work for ADRs and big-endian targets.
2023-12-01 13:54:04 +00:00

11 KiB