Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-ifunc/pr23169c.c

14 lines
160 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
static int
ifunc (void)
{
return 0xbadbeef;
}
void func(void) __attribute__((ifunc("resolve_func")));
static void *
resolve_func (void)
{
return ifunc;
}