summaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-07 23:12:27 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-07 23:12:27 +0000
commit1f1231667a4f5583ab2aa43fea1bb7e80c8825f4 (patch)
treee0b492cdd64aef38ffb15ed38b4911ee70f544ac /libgomp
parentf7b6823061013d1c57ee3b0546a1d6d7ad4f2140 (diff)
downloadgcc-1f1231667a4f5583ab2aa43fea1bb7e80c8825f4.tar.gz
Use -Wl,-undefined,dynamic_lookup on darwin
* testsuite/libgomp.c++/pr24455.C: Use -Wl,-undefined,dynamic_lookup on darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193318 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog5
-rw-r--r--libgomp/testsuite/libgomp.c++/pr24455.C1
2 files changed, 6 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index c3a5ab72017..c114a2e23c5 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-07 Jack Howarth <howarth@bromo.med.uc.edu>
+
+ * testsuite/libgomp.c++/pr24455.C: Use
+ -Wl,-undefined,dynamic_lookup on darwin.
+
2012-11-07 David Edelsohn <dje.gcc@gmail.com>
* testsuite/libgomp.c++/pr24455.C: Use -Wl,-G on AIX.
diff --git a/libgomp/testsuite/libgomp.c++/pr24455.C b/libgomp/testsuite/libgomp.c++/pr24455.C
index 02a478a4ee7..3185ca53055 100644
--- a/libgomp/testsuite/libgomp.c++/pr24455.C
+++ b/libgomp/testsuite/libgomp.c++/pr24455.C
@@ -2,6 +2,7 @@
// { dg-additional-sources pr24455-1.C }
// { dg-require-effective-target tls_runtime }
// { dg-options "-Wl,-G" { target powerpc-ibm-aix* } }
+// { dg-options "-Wl,-undefined,dynamic_lookup" { target *-*-darwin* } }
extern "C" void abort (void);