summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@imgtec.com>2014-11-05 22:42:31 +0000
committerPetar Jovanovic <petar.jovanovic@imgtec.com>2014-11-05 22:42:31 +0000
commit35f05747f3c240d2e0a5bcb6485b5021bbe6492b (patch)
treeb5ca88e54303d9a488d2bfb1b49ac740293c8e9a /llvm/lib/MC
parent1fc483d9917d224a7731e2570f6f799a26f8de1c (diff)
downloadbcm5719-llvm-35f05747f3c240d2e0a5bcb6485b5021bbe6492b.tar.gz
bcm5719-llvm-35f05747f3c240d2e0a5bcb6485b5021bbe6492b.zip
[mips64] Fix MIPS64 exception personality encoding
Remove dynamic relocations of __gxx_personality_v0 from the .eh_frame. The MIPS64 follow-up of the MIPS32 fix (rL209907). Patch by Vladimir Stefanovic. Differential Revision: http://reviews.llvm.org/D6141 llvm-svn: 221408
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r--llvm/lib/MC/MCObjectFileInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp
index 547630ea37d..13f3f6981a1 100644
--- a/llvm/lib/MC/MCObjectFileInfo.cpp
+++ b/llvm/lib/MC/MCObjectFileInfo.cpp
@@ -338,6 +338,8 @@ void MCObjectFileInfo::InitELFMCObjectFileInfo(Triple T) {
break;
case Triple::mips:
case Triple::mipsel:
+ case Triple::mips64:
+ case Triple::mips64el:
// MIPS uses indirect pointer to refer personality functions, so that the
// eh_frame section can be read-only. DW.ref.personality will be generated
// for relocation.
OpenPOWER on IntegriCloud