diff options
author | Jack Carter <jcarter@mips.com> | 2012-08-22 00:49:30 +0000 |
---|---|---|
committer | Jack Carter <jcarter@mips.com> | 2012-08-22 00:49:30 +0000 |
commit | 101771ba4d9c2421f836069fcedf9ddc8a0c9dc7 (patch) | |
tree | 1f743fb5f09df0548a3df1224fd0ad863cb4877a /include | |
parent | cb1f68d7c8bea99530ba55813c2b4ddd14556286 (diff) | |
download | external_llvm-101771ba4d9c2421f836069fcedf9ddc8a0c9dc7.zip external_llvm-101771ba4d9c2421f836069fcedf9ddc8a0c9dc7.tar.gz external_llvm-101771ba4d9c2421f836069fcedf9ddc8a0c9dc7.tar.bz2 |
For mips64 switch statements in subroutines could generate
within the codegen EK_GPRel64BlockAddress. This was not
supported for direct object output and resulted in an assertion.
This change adds support for EK_GPRel64BlockAddress for
direct object.
One fallout from this is to turn on rela relocations
for mips64 to match gas.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162334 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCObjectStreamer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/MC/MCObjectStreamer.h b/include/llvm/MC/MCObjectStreamer.h index a69075d..b59b76c 100644 --- a/include/llvm/MC/MCObjectStreamer.h +++ b/include/llvm/MC/MCObjectStreamer.h @@ -80,6 +80,7 @@ public: virtual void EmitDwarfAdvanceFrameAddr(const MCSymbol *LastLabel, const MCSymbol *Label); virtual void EmitGPRel32Value(const MCExpr *Value); + virtual void EmitGPRel64Value(const MCExpr *Value); virtual void FinishImpl(); /// @} |