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

11 lines
159 B
C

int foo (int x) __attribute__ ((ifunc ("resolve_foo")));
static int foo_impl(int x)
{
return x;
}
void *resolve_foo (void)
{
return (void *) foo_impl;
}