Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/indirect4b.c

24 lines
419 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
#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