[llvm-commits] [llvm-gcc-4.2] r75204 - /llvm-gcc-4.2/trunk/driverdriver.c
David Goodwin
david_goodwin at apple.com
Thu Jul 9 17:12:07 PDT 2009
Author: david_goodwin
Date: Thu Jul 9 19:11:59 2009
New Revision: 75204
URL: http://llvm.org/viewvc/llvm-project?rev=75204&view=rev
Log:
Recognize armv7 architecture
Modified:
llvm-gcc-4.2/trunk/driverdriver.c
Modified: llvm-gcc-4.2/trunk/driverdriver.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/driverdriver.c?rev=75204&r1=75203&r2=75204&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/driverdriver.c (original)
+++ llvm-gcc-4.2/trunk/driverdriver.c Thu Jul 9 19:11:59 2009
@@ -128,6 +128,7 @@
{"armv5", "arm"},
{"xscale", "arm"},
{"armv6", "arm"},
+ {"armv7", "arm"},
{NULL, NULL}
};
@@ -781,6 +782,8 @@
current_argv[arch_index] = "-march=xscale";
else if (!strcmp (arches[index], "armv6"))
current_argv[arch_index] = "-march=armv6k";
+ else if (!strcmp (arches[index], "armv7"))
+ current_argv[arch_index] = "-march=armv7-a";
else
count = 0;
More information about the llvm-commits
mailing list