mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
14 lines
160 B
C
14 lines
160 B
C
|
static int
|
||
|
ifunc (void)
|
||
|
{
|
||
|
return 0xbadbeef;
|
||
|
}
|
||
|
|
||
|
void func(void) __attribute__((ifunc("resolve_func")));
|
||
|
|
||
|
static void *
|
||
|
resolve_func (void)
|
||
|
{
|
||
|
return ifunc;
|
||
|
}
|