URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Test that -fvisibility=hidden prevents PLT. */
|
/* Test that -fvisibility=hidden prevents PLT. */
|
/* { dg-do compile { target fpic } } */
|
/* { dg-do compile { target fpic } } */
|
/* { dg-require-visibility "" } */
|
/* { dg-require-visibility "" } */
|
/* { dg-options "-fPIC -fvisibility=hidden" } */
|
/* { dg-options "-fPIC -fvisibility=hidden" } */
|
/* { dg-final { scan-assembler-not "methodEv@PLT|indirect_symbol.*methodEv" } } */
|
/* { dg-final { scan-assembler-not "methodEv@PLT|indirect_symbol.*methodEv" } } */
|
|
|
class Foo
|
class Foo
|
{
|
{
|
public:
|
public:
|
void method();
|
void method();
|
};
|
};
|
|
|
void Foo::method() { }
|
void Foo::method() { }
|
|
|
int main(void)
|
int main(void)
|
{
|
{
|
Foo f;
|
Foo f;
|
f.method();
|
f.method();
|
return 0;
|
return 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.