mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
11 lines
175 B
C
11 lines
175 B
C
|
void
|
||
|
new_foo(void);
|
||
|
__asm__(".symver new_foo,foo@VER2");
|
||
|
|
||
|
static void (*resolve_foo(void)) (void)
|
||
|
{
|
||
|
return new_foo;
|
||
|
}
|
||
|
|
||
|
void foo(void) __attribute__((ifunc("resolve_foo")));
|