PR27311, (symbol from plugin): undefined reference, hidden sym
[binutils-gdb.git] / ld / testsuite / ld-plugin / pr16746b.c
1 #if defined __powerpc64__ && defined _CALL_AIXDESC && !defined _CALL_LINUX
2 static const char __evoke_link_warning_foobar[]
3 __attribute__ ((used, section (".gnu.warning..foobar\n\t#")))
4 = "foobar";
5 #else
6 static const char __evoke_link_warning_foobar[]
7 __attribute__ ((used, section (".gnu.warning.foobar\n\t#")))
8 = "foobar";
9 #endif
10
11 void foobar (void) {}