Implemented relocations:
- R_MIPS_PC21_S2,
- R_MIPS_PC26_S2.
R_MIPS_PC16 is tested with the new instructions beqc and bnec.
Paths
| Differential D3824
MIPS64r6 Relocations R_MIPS_PC21_S2, R_MIPS_PC26_S2 ClosedPublic Authored by jkolek on May 19 2014, 7:01 AM.
Details Summary Implemented relocations:
R_MIPS_PC16 is tested with the new instructions beqc and bnec.
Diff Detail Event Timelinejkolek updated this object. Comment Actions LGTM with a few nits, particularly the '/ 2' one. The comment about the A's being in the wrong place seems to be a general problem in our target. I don't think it should block this patch
dsanders edited edge metadata. Comment ActionsLGTM
This revision is now accepted and ready to land.May 23 2014, 1:41 AM
Revision Contents
Diff 9532 include/llvm/Support/ELF.h
lib/Object/ELF.cpp
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
lib/Target/Mips/MCTargetDesc/MipsFixupKinds.h
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
test/MC/Mips/mips32r6/reloc-pc16.s
test/MC/Mips/mips32r6/reloc-pc21.s
test/MC/Mips/mips32r6/reloc-pc26.s
test/MC/Mips/mips64r6/reloc-pc16.s
test/MC/Mips/mips64r6/reloc-pc21.s
test/MC/Mips/mips64r6/reloc-pc26.s
|
This should either be '>> 2' or '/ 4'