Commit 5bcf08f6 by David Billinghurst Committed by David Billinghurst

weak-1.c: Early return from dg-final on platforms that do not support weak symbols

2002-03-25  David.Billinghurst <David.Billinghurst@riotinto.com>

	* gcc.dg/weak-1.c:  Early return from dg-final on platforms
	that do not support weak symbols

From-SVN: r51280
parent 12c3717e
2002-03-25 David Billinghurst <David.Billinghurst@riotinto.com> 2002-03-25 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/weak-1.c: Early return from dg-final on platforms
that do not support weak symbols
2002-03-25 David Billinghurst <David.Billinghurst@riotinto.com>
* lib/g++.exp: Fix handling of LD_LIBRARY_PATH et al * lib/g++.exp: Fix handling of LD_LIBRARY_PATH et al
* lib/g77.exp: Likewise * lib/g77.exp: Likewise
* lib/objc.exp: Likewise * lib/objc.exp: Likewise
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
/* COFF does not support weak, and dg doesn't support UNSUPPORTED. */ /* COFF does not support weak, and dg doesn't support UNSUPPORTED. */
/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin } } */ /* { dg-do compile { xfail *-*-coff i?86-pc-cygwin } } */
/* { dg-final { global target_triplet } } */
/* { dg-final { if [string match i?86-pc-cygwin $target_triplet ] {return} } } */
/* { dg-final { if [string match *-*-coff $target_triplet ] {return} } } */
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?a" } } */ /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?a" } } */
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?b" } } */ /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?b" } } */
/* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?c" } } */ /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t]_?c" } } */
......
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