[all-commits] [llvm/llvm-project] 231ef2: [MC][ARM] Fix redundant errors for .quad/.8byte re...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun May 7 21:41:51 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 231ef2104d15c306f0e362db649cf241ac575d09
https://github.com/llvm/llvm-project/commit/231ef2104d15c306f0e362db649cf241ac575d09
Author: Fangrui Song <i at maskray.me>
Date: 2023-05-07 (Sun, 07 May 2023)
Changed paths:
M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
M llvm/test/MC/ARM/arm-memory-instructions-immediate.s
M llvm/test/MC/ARM/quad-relocation.s
M llvm/test/MC/ARM/t2-modified-immediate-fixup-error1.s
M llvm/test/MC/ARM/thumb1-relax-adr.s
M llvm/test/MC/ARM/thumb1-relax-bcc.s
M llvm/test/MC/ARM/thumb1-relax-br.s
M llvm/test/MC/ARM/thumb1-relax-ldrlit.s
Log Message:
-----------
[MC][ARM] Fix redundant errors for .quad/.8byte relocations on ELF
For a .quad/.8byte directive that needs a relocation, Mach-O emits one error
while ELF emits two. Emit just one for ELF and change the diagnostic to match
other ports.
More information about the All-commits
mailing list