mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 23:10:06 +00:00
21 lines
199 B
C
21 lines
199 B
C
|
int
|
||
|
foo_v1 (int a)
|
||
|
{
|
||
|
return 1;
|
||
|
}
|
||
|
asm (".symver foo_v1, foo@v1");
|
||
|
|
||
|
int
|
||
|
foo_v2 (int a)
|
||
|
{
|
||
|
return 2;
|
||
|
}
|
||
|
asm (".symver foo_v2, foo@v2");
|
||
|
|
||
|
int
|
||
|
foo (int a)
|
||
|
{
|
||
|
return 3;
|
||
|
}
|
||
|
asm (".symver foo, foo@@@v3");
|