Commit 87327987 by Kaveh R. Ghazi Committed by Kaveh Ghazi

linkage.exp: Use wildcards when matching N32.

	* gcc.misc-tests/linkage.exp: Use wildcards when matching N32.
	Ensure logfile entry matches exec command line.

From-SVN: r42814
parent 20f914dc
2001-06-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.misc-tests/linkage.exp: Use wildcards when matching N32.
Ensure logfile entry matches exec command line.
2001-05-31 Richard Henderson <rth@redhat.com> 2001-05-31 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/memcheck/blkarg.x: Disable the test. * gcc.c-torture/execute/memcheck/blkarg.x: Disable the test.
......
...@@ -32,16 +32,16 @@ if [isnative] then { ...@@ -32,16 +32,16 @@ if [isnative] then {
if [ string match "*64*" $file_string ] { if [ string match "*64*" $file_string ] {
set native_cflags "-64" set native_cflags "-64"
} }
if [ string match "N32" $file_string ] { if [ string match "*N32*" $file_string ] {
set native_cflags "-n32" set native_cflags "-n32"
} }
} }
catch { exec rm -f linkage-y.o } catch { exec rm -f linkage-y.o }
send_log "cc -c $srcdir/$subdir/linkage-y.c >&/dev/null\n" send_log "cc -c $native_cflags $srcdir/$subdir/linkage-y.c >&/dev/null\n"
catch { exec cc -c $native_cflags "$srcdir/$subdir/linkage-y.c" >&/dev/null } catch { exec cc -c $native_cflags "$srcdir/$subdir/linkage-y.c" >&/dev/null }
if ![file exists "linkage-y.o"] then { if ![file exists "linkage-y.o"] then {
send_log "c89 -c $srcdir/$subdir/linkage-y.c >&/dev/null\n" send_log "c89 -c $native_cflags $srcdir/$subdir/linkage-y.c >&/dev/null\n"
catch { exec c89 -c $native_cflags "$srcdir/$subdir/linkage-y.c" >&/dev/null } catch { exec c89 -c $native_cflags "$srcdir/$subdir/linkage-y.c" >&/dev/null }
} }
if [file exists "linkage-y.o"] then { if [file exists "linkage-y.o"] then {
......
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