diff mbox

PATCH: Check ia32 instead of ilp32

Message ID 20111114181406.GA13417@intel.com
State New
Headers show

Commit Message

H.J. Lu Nov. 14, 2011, 6:14 p.m. UTC
Hi,

ilp32 includes both x32 and ia32.  -march=i486 only applies to ia32.
I checked in this patch to check ia32 instead of ilp32.


H.J.
---
diff mbox

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 181359)
+++ ChangeLog	(working copy)
@@ -1,3 +1,7 @@ 
+2011-11-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* testsuite/lib/libitm.exp: Check ia32 instead of ilp32.
+
 2011-11-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
 	* config/alpha/sjlj.S (_ITM_beginTransaction) [!__ELF__]: Don't use
Index: testsuite/lib/libitm.exp
===================================================================
--- testsuite/lib/libitm.exp	(revision 181359)
+++ testsuite/lib/libitm.exp	(working copy)
@@ -144,7 +144,7 @@  proc libitm_init { args } {
 
     # We use atomic operations in the testcases to validate results.
     if { ([istarget i?86-*-*] || [istarget x86_64-*-*])
-	 && [check_effective_target_ilp32] } {
+	 && [check_effective_target_ia32] } {
 	lappend ALWAYS_CFLAGS "additional_flags=-march=i486"
     }