gcsec-1.c: Don't link statically on Solaris 10 x86.
authorMark Mitchell <mark@codesourcery.com>
Mon, 7 May 2007 18:28:41 +0000 (18:28 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 7 May 2007 18:28:41 +0000 (18:28 +0000)
* gcc.dg/special/gcsec-1.c: Don't link statically on Solaris 10
x86.

From-SVN: r124506

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/special/gcsec-1.c

index 64e12738d2d9bcf7ba8f6849c354c00d27ac2291..37298a0cf82159cc573dc91cb2a59a0e6a287677 100644 (file)
@@ -1,3 +1,8 @@
+2007-05-07  Mark Mitchell  <mark@codesourcery.com>
+
+       * gcc.dg/special/gcsec-1.c: Don't link statically on Solaris 10
+       x86.
+
 2007-05-07  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gnat.dg/opt1.ad[sb]: New testcase.
index 68d4066fa39976b67711753762815b833efeafac..b76ad50aa781992b6ca511666d22dcc54722e5d2 100644 (file)
@@ -5,7 +5,8 @@
 
 /* { dg-options "-ffunction-sections -fdata-sections -Wl,--gc-sections -static" } */
 /* { dg-options "-ffunction-sections -fdata-sections -Wl,--gc-sections -static" { target native } } */
-/* { dg-options "-ffunction-sections -fdata-sections -Wl,--gc-sections" { target *-*-netware* } } */
+/* Solaris 10 does not support static linking; there is no libc.a.  */
+/* { dg-options "-ffunction-sections -fdata-sections -Wl,--gc-sections" { target *-*-netware* i?86-*-solaris2.1[0-9] } } */
 
 #include <stdlib.h>