Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/indirect2.c
2023-03-06 14:48:14 +01:00

12 lines
210 B
C

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 ();
}