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

24 lines
403 B
C

#include <stdio.h>
void
foo2 (void)
{
printf ("MAIN2\n");
}
asm (".symver foo2,foo@@FOO2");
#if defined __powerpc64__ && defined _CALL_AIXDESC && !defined _CALL_LINUX
asm (".symver .foo2,.foo@@FOO2");
#endif
void
foo1 (void)
{
printf ("MAIN1\n");
}
asm (".symver foo1,foo@FOO1");
#if defined __powerpc64__ && defined _CALL_AIXDESC && !defined _CALL_LINUX
asm (".symver .foo1,.foo@FOO1");
#endif