[PATCH] D13659: Implement .reloc (constant offset only) with support for R_MIPS_NONE and R_MIPS_32.
Daniel Sanders via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 12 08:49:53 PDT 2015
dsanders created this revision.
dsanders added a subscriber: llvm-commits.
Herald added a subscriber: dsanders.
Support for R_MIPS_NONE allows us to parse MIPS16's usage of .reloc.
R_MIPS_32 was included to be able to better test the directive.
Targets can add their relocations by overriding MCAsmBackend::getFixupKind().
http://reviews.llvm.org/D13659
Files:
include/llvm/MC/MCAsmBackend.h
include/llvm/MC/MCObjectStreamer.h
include/llvm/MC/MCStreamer.h
lib/MC/MCAsmBackend.cpp
lib/MC/MCAsmStreamer.cpp
lib/MC/MCObjectStreamer.cpp
lib/MC/MCParser/AsmParser.cpp
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
lib/Target/Mips/MCTargetDesc/MipsFixupKinds.h
test/MC/Mips/reloc-directive.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13659.37121.patch
Type: text/x-patch
Size: 13041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151012/09c96afa/attachment.bin>
More information about the llvm-commits
mailing list