diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2012-11-21 13:57:05 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2012-11-21 13:57:05 +0200 |
commit | 0672ebbe2a455152b6eaa2fc35327d4a8f738861 (patch) | |
tree | 381a9abbeacb8d53aa75716863e67e84f4e62803 /sys-devel/llvm/files/llvm-3.0-PPC_macro.patch | |
parent | fe1db5b4c5c1ba306799f3167948f90eadaf38fa (diff) |
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
Diffstat (limited to 'sys-devel/llvm/files/llvm-3.0-PPC_macro.patch')
-rw-r--r-- | sys-devel/llvm/files/llvm-3.0-PPC_macro.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sys-devel/llvm/files/llvm-3.0-PPC_macro.patch b/sys-devel/llvm/files/llvm-3.0-PPC_macro.patch new file mode 100644 index 0000000..c485e9b --- /dev/null +++ b/sys-devel/llvm/files/llvm-3.0-PPC_macro.patch @@ -0,0 +1,43 @@ +Index: llvm-3.0-3.0/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h +=================================================================== +--- llvm-3.0-3.0.orig/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h 2011-07-25 23:24:55.000000000 +0000 ++++ llvm-3.0-3.0/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h 2011-12-02 13:06:48.000000000 +0000 +@@ -34,6 +34,10 @@ + + } // End llvm namespace + ++// Generated files will use "namespace PPC". To avoid symbol clash, ++// undefine PPC here. PPC may be predefined on some hosts. ++#undef PPC ++ + // Defines symbolic names for PowerPC registers. This defines a mapping from + // register name to register number. + // +Index: llvm-3.0-3.0/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h +=================================================================== +--- llvm-3.0-3.0.orig/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h 2011-07-26 00:24:13.000000000 +0000 ++++ llvm-3.0-3.0/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h 2011-12-02 13:06:48.000000000 +0000 +@@ -14,6 +14,10 @@ + #ifndef LLVM_TARGET_POWERPC_PPCPREDICATES_H + #define LLVM_TARGET_POWERPC_PPCPREDICATES_H + ++// Generated files will use "namespace PPC". To avoid symbol clash, ++// undefine PPC here. PPC may be predefined on some hosts. ++#undef PPC ++ + namespace llvm { + namespace PPC { + /// Predicate - These are "(BI << 5) | BO" for various predicates. +Index: llvm-3.0-3.0/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h +=================================================================== +--- llvm-3.0-3.0.orig/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h 2011-07-25 19:53:23.000000000 +0000 ++++ llvm-3.0-3.0/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h 2011-12-02 16:21:23.000000000 +0000 +@@ -12,6 +12,8 @@ + + #include "llvm/MC/MCFixup.h" + ++#undef PPC ++ + namespace llvm { + namespace PPC { + enum Fixups { |