Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-elf / pr18720b.c
blob6b3222db86bbf28e209fd3b027f632b0be0df007
1 #include <stdio.h>
3 void
4 foo (void)
6 printf ("MAIN\n");
9 __asm__ (".symver foo,foo@FOO");
10 #ifdef __alpha__
11 __asm__ ("foo_alias = foo");
12 #else
13 __asm__ (".set foo_alias,foo");
14 #endif
15 __asm__ (".global foo_alias");
16 #if defined __powerpc64__ && defined _CALL_AIXDESC && !defined _CALL_LINUX
17 __asm__ (".symver .foo,.foo@FOO");
18 __asm__ (".set .foo_alias,.foo");
19 __asm__ (".global .foo_alias");
20 #endif