From 0672ebbe2a455152b6eaa2fc35327d4a8f738861 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Wed, 21 Nov 2012 13:57:05 +0200 Subject: new file: sys-devel/llvm/files/cl-patches/0001-r600-Add-some-intrinsic-definitions.patch new file: sys-devel/llvm/files/cl-patches/0002-r600-Add-get_global_size-and-get_local_size-intrinsi.patch new file: sys-devel/llvm/files/llvm-2.6-commandguide-nops.patch new file: sys-devel/llvm/files/llvm-2.7-nodoctargz.patch new file: sys-devel/llvm/files/llvm-2.8-alignof.patch new file: sys-devel/llvm/files/llvm-2.8-darwin8.patch new file: sys-devel/llvm/files/llvm-2.9-Operator.h-c++0x.patch new file: sys-devel/llvm/files/llvm-2.9-nodoctargz.patch new file: sys-devel/llvm/files/llvm-3.0-PPCCompilationCallbackC_static.patch new file: sys-devel/llvm/files/llvm-3.0-PPC_macro.patch new file: sys-devel/llvm/files/llvm-3.0-gold_LTO_link.patch new file: sys-devel/llvm/files/llvm-3.0-ocaml_install.patch new file: sys-devel/llvm/files/llvm-3.0-set_soname.patch new file: sys-devel/llvm/files/llvm-3.1-fix_debug_line_info.patch new file: sys-devel/llvm/files/llvm-3.1-ivybridge_support.patch new file: sys-devel/llvm/files/llvm-3.2-nodoctargz.patch new file: sys-devel/llvm/llvm-9999.ebuild --- .../llvm-3.0-PPCCompilationCallbackC_static.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 sys-devel/llvm/files/llvm-3.0-PPCCompilationCallbackC_static.patch (limited to 'sys-devel/llvm/files/llvm-3.0-PPCCompilationCallbackC_static.patch') diff --git a/sys-devel/llvm/files/llvm-3.0-PPCCompilationCallbackC_static.patch b/sys-devel/llvm/files/llvm-3.0-PPCCompilationCallbackC_static.patch new file mode 100644 index 0000000..04e4024 --- /dev/null +++ b/sys-devel/llvm/files/llvm-3.0-PPCCompilationCallbackC_static.patch @@ -0,0 +1,27 @@ +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; + } ++} + + + -- cgit v1.2.3