Retro68/binutils/ld/testsuite/ld-plugin/pr16746b.c
2017-04-10 13:32:00 +02:00

12 lines
358 B
C

#if defined __powerpc64__ && defined _CALL_AIXDESC && !defined _CALL_LINUX
static const char __evoke_link_warning_foobar[]
__attribute__ ((used, section (".gnu.warning..foobar\n\t#")))
= "foobar";
#else
static const char __evoke_link_warning_foobar[]
__attribute__ ((used, section (".gnu.warning.foobar\n\t#")))
= "foobar";
#endif
void foobar (void) {}