SHA256
1
0
forked from pool/llvm

- Add llvm-fix-parsearmarch.patch to fix parsing armv{6,7}hl archs.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=412
This commit is contained in:
Ismail Dönmez 2015-04-24 12:20:04 +00:00 committed by Git OBS Bridge
parent 6595913fdc
commit 3cd250cd98
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,16 @@
Index: llvm-3.6.0.src/lib/Support/Triple.cpp
===================================================================
--- llvm-3.6.0.src.orig/lib/Support/Triple.cpp
+++ llvm-3.6.0.src/lib/Support/Triple.cpp
@@ -270,9 +270,9 @@ static Triple::ArchType parseARMArch(Str
.Cases("v3", "v3m", isThumb ? Triple::UnknownArch : arch)
.Cases("v4", "v4t", arch)
.Cases("v5", "v5e", "v5t", "v5te", "v5tej", arch)
- .Cases("v6", "v6j", "v6k", "v6m", arch)
+ .Cases("v6", "v6hl", "v6j", "v6k", "v6m", arch)
.Cases("v6t2", "v6z", "v6zk", arch)
- .Cases("v7", "v7a", "v7em", "v7l", arch)
+ .Cases("v7", "v7a", "v7em", "v7hl", "v7l", arch)
.Cases("v7m", "v7r", "v7s", arch)
.Cases("v8", "v8a", arch)
.Default(Triple::UnknownArch);

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 24 12:19:33 UTC 2015 - idonmez@suse.com
- Add llvm-fix-parsearmarch.patch to fix parsing armv{6,7}hl archs.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 2 10:12:32 UTC 2015 - idonmez@suse.com Mon Mar 2 10:12:32 UTC 2015 - idonmez@suse.com

View File

@ -63,6 +63,7 @@ Patch10: clang-resourcedirs.patch
Patch11: libcxxabi-exceptions.patch Patch11: libcxxabi-exceptions.patch
Patch13: llvm-remove-clang-only-flags.patch Patch13: llvm-remove-clang-only-flags.patch
Patch15: llvm-fix-find-gcc5-install.patch Patch15: llvm-fix-find-gcc5-install.patch
Patch16: llvm-fix-parsearmarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: binutils-devel >= 2.21.90 BuildRequires: binutils-devel >= 2.21.90
BuildRequires: bison BuildRequires: bison
@ -166,6 +167,7 @@ This package contains the Python bindings to clang (C language) frontend for LLV
%patch11 %patch11
%patch13 -p1 %patch13 -p1
%patch15 %patch15
%patch16 -p1
# Move into right place # Move into right place
mv cfe-%{version}.src tools/clang mv cfe-%{version}.src tools/clang