SHA256
1
0
forked from pool/llvm
Ismail Dönmez 2012-11-12 10:31:50 +00:00 committed by Git OBS Bridge
parent 78cf258826
commit 65d86a5442
2 changed files with 7 additions and 4 deletions

View File

@ -2,12 +2,14 @@ Index: llvm/tools/clang/lib/Driver/Tools.cpp
=================================================================== ===================================================================
--- llvm.orig/tools/clang/lib/Driver/Tools.cpp --- llvm.orig/tools/clang/lib/Driver/Tools.cpp
+++ llvm/tools/clang/lib/Driver/Tools.cpp +++ llvm/tools/clang/lib/Driver/Tools.cpp
@@ -897,7 +897,7 @@ void Clang::AddX86TargetArgs(const ArgLi @@ -1178,8 +1178,8 @@ void Clang::AddX86TargetArgs(const ArgLi
if (getToolChain().getArch() == llvm::Triple::x86_64)
CPUName = "x86-64"; CPUName = "x86-64";
else if (getToolChain().getArch() == llvm::Triple::x86) else if (getToolChain().getArch() == llvm::Triple::x86)
- CPUName = "pentium4"; // All x86 devices running Android have core2 as their common
+ CPUName = "i586"; - // denominator. This makes a better choice than pentium4.
- CPUName = isAndroid ? "core2" : "pentium4";
+ // denominator. This makes a better choice than i586.
+ CPUName = isAndroid ? "core2" : "i586";
} }
} }

View File

@ -18,6 +18,7 @@ Mon Nov 12 08:05:08 UTC 2012 - idonmez@suse.com
* A new IR-level pass, called "TargetTransformInfo" provides * A new IR-level pass, called "TargetTransformInfo" provides
a number of low-level interfaces. a number of low-level interfaces.
- Refresh default-to-i586.patch to apply again
- Drop following patches (fixed upstream) - Drop following patches (fixed upstream)
* arm-suse-support.patch * arm-suse-support.patch
* pr12463.patch * pr12463.patch