Implemented relocations:
- R_MIPS_PCHI16,
- R_MIPS_PCLO16.
Paths
| Differential D3860
MIPS64r6 Relocations R_MIPS_PCHI16, R_MIPS_PCLO16 ClosedPublic Authored by jkolek on May 21 2014, 5:18 AM.
Details Summary Implemented relocations:
Diff Detail Event Timelinejkolek updated this object. dsanders edited edge metadata. Comment ActionsLGTM with a nit. D3824 adds a test file for each relocation. A single relocation.s is slightly preferable since program startup time adds up but we can merge them together later.
This revision is now accepted and ready to land.May 23 2014, 3:25 AM
Revision Contents
Diff 9655 include/llvm/MC/MCExpr.h
include/llvm/Support/ELF.h
lib/MC/MCExpr.cpp
lib/Object/ELF.cpp
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/InstPrinter/MipsInstPrinter.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/relocations.s
test/MC/Mips/mips64r6/relocations.s
|
Can you make this stricter? We should be able to test the address, the symbol, and the offset as well.