aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/ssp-2.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7f8786b..e369022 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-28 Andrew Pinski <andrew_pinski@playstation.sony.com>
+
+ PR testsuite/38311
+ * ssp-2.c: Link with -Wl,-multiply_defined,suppress on darwin.
+
2008-11-28 Jason Merrill <jason@redhat.com>
PR c++/38233
diff --git a/gcc/testsuite/gcc.dg/ssp-2.c b/gcc/testsuite/gcc.dg/ssp-2.c
index 493f3c9..9a7ac32 100644
--- a/gcc/testsuite/gcc.dg/ssp-2.c
+++ b/gcc/testsuite/gcc.dg/ssp-2.c
@@ -1,5 +1,6 @@
/* { dg-do run { target native } } */
/* { dg-options "-fstack-protector" } */
+/* { dg-options "-fstack-protector -Wl,-multiply_defined,suppress" { target *-*-darwin* } } */
/* { dg-require-effective-target fstack_protector } */
#include <stdlib.h>