Commit ff224b80 authored by Sylvestre Ledru's avatar Sylvestre Ledru

Fix an ABI issue introduced with the kfreebsd support Thanks to Svante Signell (Closes: #922731)

parent 863a0b05
......@@ -14,6 +14,8 @@ llvm-toolchain-7 (1:7.1.0~svn354203-1~exp1) experimental; urgency=medium
As I kept the ABI, I reverted the patches (debian/patches/7.1.0/*)
More info on https://bugs.llvm.org/show_bug.cgi?id=39427
and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913271
* Fix an ABI issue introduced with the kfreebsd support
Thanks to Svante Signell (Closes: #922731)
[ Matthias Klose ]
* Remove the autopkg test for a genuine LLVM bug.
......
Index: llvm-toolchain-7-7.0.1/include/llvm/MC/MCELFObjectWriter.h
===================================================================
--- llvm-toolchain-7-7.0.1.orig/include/llvm/MC/MCELFObjectWriter.h
+++ llvm-toolchain-7-7.0.1/include/llvm/MC/MCELFObjectWriter.h
@@ -75,6 +75,7 @@ public:
return ELF::ELFOSABI_CLOUDABI;
case Triple::PS4:
case Triple::FreeBSD:
+ case Triple::kFreeBSD:
return ELF::ELFOSABI_FREEBSD;
default:
return ELF::ELFOSABI_NONE;
......@@ -157,3 +157,4 @@ kfreebsd/lib_Target_X86.diff
kfreebsd/lldb_source_Host_freebsd_Host.cpp.diff
kfreebsd/lldb_source_Plugins_Process_FreeBSD.diff
kfreebsd/tools_llvm-shlib_CMakeLists.txt.diff
kfreebsd/include_llvm_MC_MCELFObjectWriter.h.diff
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment