aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2007-05-07 18:28:41 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2007-05-07 18:28:41 +0000
commit3d42c07025e3350ea14c315a0fb5d35831382f90 (patch)
tree0a1e077ea938678d91aee02dba354433e001ae66 /gcc
parent7504beb42093014debe1a72c370435c45a95091f (diff)
downloadgcc-3d42c07025e3350ea14c315a0fb5d35831382f90.zip
gcc-3d42c07025e3350ea14c315a0fb5d35831382f90.tar.gz
gcc-3d42c07025e3350ea14c315a0fb5d35831382f90.tar.bz2
gcsec-1.c: Don't link statically on Solaris 10 x86.
* gcc.dg/special/gcsec-1.c: Don't link statically on Solaris 10 x86. From-SVN: r124506
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/special/gcsec-1.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 64e1273..37298a0 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.dg/special/gcsec-1.c b/gcc/testsuite/gcc.dg/special/gcsec-1.c
index 68d4066..b76ad50 100644
--- a/gcc/testsuite/gcc.dg/special/gcsec-1.c
+++ b/gcc/testsuite/gcc.dg/special/gcsec-1.c
@@ -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>