aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/indirect2.c
blob: e36532d1e70acb80fd2840b371c5b347d91b29a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
extern void foo (void);

asm (".symver foo,foo@@@FOO");
#if defined __powerpc64__ && defined _CALL_AIXDESC && !defined _CALL_LINUX
asm (".symver .foo,.foo@@@FOO");
#endif

void
bar (void)
{
  foo ();
}