llvm-toolchain/debian/patches/mipsel-ftbfs.diff
Sylvestre Ledru 621afe854a * Sync recent changes from the 3.3 branch
* Integrate patch to fix FTBFS under IA64.
* Disable the usage of binutils-gold under armel. It currently fails with:
  "attempt to map 2752512 bytes at offset 2066666 exceeds size of file;
  the file may be corrupt"
2013-07-01 12:40:22 +00:00

28 lines
1.7 KiB
Diff

Index: llvm-toolchain-snapshot_3.4~svn185325/lldb/source/Plugins/Process/Linux/LinuxSignals.cpp
===================================================================
--- llvm-toolchain-snapshot_3.4~svn185325.orig/lldb/source/Plugins/Process/Linux/LinuxSignals.cpp 2013-07-01 13:32:46.000000000 +0200
+++ llvm-toolchain-snapshot_3.4~svn185325/lldb/source/Plugins/Process/Linux/LinuxSignals.cpp 2013-07-01 13:32:46.000000000 +0200
@@ -45,7 +45,9 @@
ADDSIGNAL(PIPE, false, true, true, "write to pipe with reading end closed");
ADDSIGNAL(ALRM, false, false, true, "alarm");
ADDSIGNAL(TERM, false, true, true, "termination requested");
+#ifdef SIGSTKFLT
ADDSIGNAL(STKFLT, false, true, true, "stack fault");
+#endif
ADDSIGNAL(CHLD, false, false, true, "child process exit");
ADDSIGNAL(CONT, false, true, true, "process continue");
ADDSIGNAL(STOP, false, true, true, "process stop");
Index: llvm-toolchain-snapshot_3.4~svn185325/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp
===================================================================
--- llvm-toolchain-snapshot_3.4~svn185325.orig/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp 2013-07-01 13:32:46.000000000 +0200
+++ llvm-toolchain-snapshot_3.4~svn185325/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp 2013-07-01 13:32:46.000000000 +0200
@@ -149,7 +149,7 @@
// TOOD: need a better way to detect when "long double" types are
// the same bytes size as "double"
-#if !defined(__arm__)
+#if !defined(__arm__) && !defined(__mips__)
case sizeof (long double):
if (sizeof (long double) == sizeof(uint32_t))
{