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

13 lines
160 B
C

static int
ifunc (void)
{
return 0xbadbeef;
}
void func(void) __attribute__((ifunc("resolve_func")));
static void *
resolve_func (void)
{
return ifunc;
}