class1.C: Port to Darwin.
* g++.dg/ext/visibility/class1.C: Port to Darwin. * g++.dg/ext/visibility/noPLT.C: Likewise. From-SVN: r122348
This commit is contained in:
parent
75b6bb627c
commit
f6bc864076
@ -1,3 +1,8 @@
|
||||
2007-02-26 Geoffrey Keating <geoffk@apple.com>
|
||||
|
||||
* g++.dg/ext/visibility/class1.C: Port to Darwin.
|
||||
* g++.dg/ext/visibility/noPLT.C: Likewise.
|
||||
|
||||
2007-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* gcc.dg/torture/builtin-modf-1.c: Use -fno-finite-math-only on
|
||||
|
@ -2,9 +2,9 @@
|
||||
// Init should not be hidden, so calling it should use the PLT.
|
||||
|
||||
// { dg-options "-fpic" }
|
||||
// { dg-do compile { target i?86-*-* x86_64-*-* } }
|
||||
// { dg-do compile { target i?86-*-* x86_64-*-* *-*-darwin* } }
|
||||
// { dg-require-visibility "" }
|
||||
// { dg-final { scan-assembler "InitEv@PLT" } }
|
||||
// { dg-final { scan-assembler "InitEv@PLT|indirect_symbol.*InitEv" } }
|
||||
|
||||
#pragma GCC visibility push(hidden)
|
||||
struct __attribute__ ((visibility ("default"))) nsINIParser
|
||||
|
@ -2,7 +2,7 @@
|
||||
/* { dg-do compile { target fpic } } */
|
||||
/* { dg-require-visibility "" } */
|
||||
/* { dg-options "-fPIC -fvisibility=hidden" } */
|
||||
/* { dg-final { scan-assembler-not "methodEv@PLT" } } */
|
||||
/* { dg-final { scan-assembler-not "methodEv@PLT|indirect_symbol.*methodEv" } } */
|
||||
|
||||
class Foo
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user