summaryrefslogtreecommitdiff
path: root/sys-devel/llvm/files/llvm-3.0-PPCCompilationCallbackC_static.patch
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2013-08-02 16:17:36 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2013-08-02 16:17:36 +0300
commit8e1ce3179cf45ad3c7552ce08b3e9d4f0fd45330 (patch)
tree2e29dfe83728653447648e018c20659fe3f74675 /sys-devel/llvm/files/llvm-3.0-PPCCompilationCallbackC_static.patch
parentf1bff082bde8e4703f85950fd0d001d64033543b (diff)
cleanup
Diffstat (limited to 'sys-devel/llvm/files/llvm-3.0-PPCCompilationCallbackC_static.patch')
-rw-r--r--sys-devel/llvm/files/llvm-3.0-PPCCompilationCallbackC_static.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/sys-devel/llvm/files/llvm-3.0-PPCCompilationCallbackC_static.patch b/sys-devel/llvm/files/llvm-3.0-PPCCompilationCallbackC_static.patch
deleted file mode 100644
index 04e4024..0000000
--- a/sys-devel/llvm/files/llvm-3.0-PPCCompilationCallbackC_static.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=403519
-http://llvm.org/viewvc/llvm-project?view=rev&revision=153938
-
---- llvm/trunk/lib/Target/PowerPC/PPCJITInfo.cpp 2011/06/15 15:29:47 133059
-+++ llvm/trunk/lib/Target/PowerPC/PPCJITInfo.cpp 2012/04/03 06:59:28 153938
-@@ -291,9 +291,10 @@
- }
- #endif
-
--extern "C" void *PPCCompilationCallbackC(unsigned *StubCallAddrPlus4,
-- unsigned *OrigCallAddrPlus4,
-- bool is64Bit) {
-+extern "C" {
-+static void* LLVM_ATTRIBUTE_USED PPCCompilationCallbackC(unsigned *StubCallAddrPlus4,
-+ unsigned *OrigCallAddrPlus4,
-+ bool is64Bit) {
- // Adjust the pointer to the address of the call instruction in the stub
- // emitted by emitFunctionStub, rather than the instruction after it.
- unsigned *StubCallAddr = StubCallAddrPlus4 - 1;
-@@ -337,6 +338,7 @@
- // stack after we restore all regs.
- return Target;
- }
-+}
-
-
-