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

17 lines
317 B
C

#include <stdio.h>
void
foo (void)
{
printf ("MAIN\n");
}
asm (".symver foo,foo@FOO");
asm (".set foo_alias,foo");
asm (".global foo_alias");
#if defined __powerpc64__ && defined _CALL_AIXDESC && !defined _CALL_LINUX
asm (".symver .foo,.foo@FOO");
asm (".set .foo_alias,.foo");
asm (".global .foo_alias");
#endif