mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-14 02:45:31 +00:00
refresh of the patches
This commit is contained in:
parent
537558670c
commit
8c155772c2
27
debian/patches/debian-mips64-n32-multiarch.diff
vendored
27
debian/patches/debian-mips64-n32-multiarch.diff
vendored
@ -1,8 +1,8 @@
|
||||
Index: llvm-toolchain-snapshot_3.5~svn200375/clang/lib/Driver/ToolChains.cpp
|
||||
Index: llvm-toolchain-snapshot_3.5~svn201231/clang/lib/Driver/ToolChains.cpp
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_3.5~svn200375.orig/clang/lib/Driver/ToolChains.cpp 2014-01-29 07:46:57.392718304 -0800
|
||||
+++ llvm-toolchain-snapshot_3.5~svn200375/clang/lib/Driver/ToolChains.cpp 2014-01-29 07:48:33.364715296 -0800
|
||||
@@ -1312,11 +1312,13 @@
|
||||
--- llvm-toolchain-snapshot_3.5~svn201231.orig/clang/lib/Driver/ToolChains.cpp 2014-02-12 13:13:12.789835837 +0100
|
||||
+++ llvm-toolchain-snapshot_3.5~svn201231/clang/lib/Driver/ToolChains.cpp 2014-02-12 13:13:12.789835837 +0100
|
||||
@@ -1324,11 +1324,13 @@
|
||||
|
||||
static const char *const MIPS64LibDirs[] = { "/lib64", "/lib" };
|
||||
static const char *const MIPS64Triples[] = { "mips64-linux-gnu",
|
||||
@ -18,20 +18,7 @@ Index: llvm-toolchain-snapshot_3.5~svn200375/clang/lib/Driver/ToolChains.cpp
|
||||
|
||||
static const char *const PPCLibDirs[] = { "/lib32", "/lib" };
|
||||
static const char *const PPCTriples[] = {
|
||||
@@ -1503,9 +1505,9 @@
|
||||
}
|
||||
|
||||
static bool isMipsArch(llvm::Triple::ArchType Arch) {
|
||||
- return Arch == llvm::Triple::mips ||
|
||||
- Arch == llvm::Triple::mipsel ||
|
||||
- Arch == llvm::Triple::mips64 ||
|
||||
+ return Arch == llvm::Triple::mips ||
|
||||
+ Arch == llvm::Triple::mipsel ||
|
||||
+ Arch == llvm::Triple::mips64 ||
|
||||
Arch == llvm::Triple::mips64el;
|
||||
}
|
||||
|
||||
@@ -2522,6 +2524,14 @@
|
||||
@@ -2769,6 +2771,14 @@
|
||||
if (llvm::sys::fs::exists(SysRoot + "/lib/mipsel-linux-gnu"))
|
||||
return "mipsel-linux-gnu";
|
||||
return TargetTriple.str();
|
||||
@ -46,7 +33,7 @@ Index: llvm-toolchain-snapshot_3.5~svn200375/clang/lib/Driver/ToolChains.cpp
|
||||
case llvm::Triple::ppc:
|
||||
if (llvm::sys::fs::exists(SysRoot + "/lib/powerpc-linux-gnuspe"))
|
||||
return "powerpc-linux-gnuspe";
|
||||
@@ -2881,6 +2891,12 @@
|
||||
@@ -3122,6 +3132,12 @@
|
||||
const StringRef MIPSELMultiarchIncludeDirs[] = {
|
||||
"/usr/include/mipsel-linux-gnu"
|
||||
};
|
||||
@ -59,7 +46,7 @@ Index: llvm-toolchain-snapshot_3.5~svn200375/clang/lib/Driver/ToolChains.cpp
|
||||
const StringRef PPCMultiarchIncludeDirs[] = {
|
||||
"/usr/include/powerpc-linux-gnu"
|
||||
};
|
||||
@@ -2903,6 +2919,10 @@
|
||||
@@ -3144,6 +3160,10 @@
|
||||
MultiarchIncludeDirs = MIPSMultiarchIncludeDirs;
|
||||
} else if (getTriple().getArch() == llvm::Triple::mipsel) {
|
||||
MultiarchIncludeDirs = MIPSELMultiarchIncludeDirs;
|
||||
|
14
debian/patches/libstdc++-header-i386.diff
vendored
14
debian/patches/libstdc++-header-i386.diff
vendored
@ -1,9 +1,9 @@
|
||||
Index: llvm-toolchain-snapshot_3.5~svn199197/clang/lib/Driver/ToolChains.cpp
|
||||
Index: llvm-toolchain-snapshot_3.5~svn201231/clang/lib/Driver/ToolChains.cpp
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_3.5~svn199197.orig/clang/lib/Driver/ToolChains.cpp 2014-01-14 11:31:10.916868278 +0100
|
||||
+++ llvm-toolchain-snapshot_3.5~svn199197/clang/lib/Driver/ToolChains.cpp 2014-01-14 11:31:10.916868278 +0100
|
||||
@@ -2830,6 +2830,11 @@
|
||||
StringRef BiarchSuffix = GCCInstallation.getBiarchSuffix();
|
||||
--- llvm-toolchain-snapshot_3.5~svn201231.orig/clang/lib/Driver/ToolChains.cpp 2014-02-12 13:12:51.069836368 +0100
|
||||
+++ llvm-toolchain-snapshot_3.5~svn201231/clang/lib/Driver/ToolChains.cpp 2014-02-12 13:12:51.065836368 +0100
|
||||
@@ -3239,6 +3239,11 @@
|
||||
const Multilib &Multilib = GCCInstallation.getMultilib();
|
||||
const GCCVersion &Version = GCCInstallation.getVersion();
|
||||
|
||||
+#ifdef __i386__
|
||||
@ -12,5 +12,5 @@ Index: llvm-toolchain-snapshot_3.5~svn199197/clang/lib/Driver/ToolChains.cpp
|
||||
+#endif
|
||||
+
|
||||
if (addLibStdCXXIncludePaths(LibDir.str() + "/../include",
|
||||
"/c++/" + Version.Text, TripleStr, BiarchSuffix,
|
||||
MIPSABIDirSuffix, DriverArgs, CC1Args))
|
||||
"/c++/" + Version.Text, TripleStr,
|
||||
Multilib.includeSuffix(), DriverArgs, CC1Args))
|
||||
|
Loading…
Reference in New Issue
Block a user