about summary refs log tree commit diff
path: root/elf/nextmod3.c
blob: cd7bdb36af626033f3cc29173ba5913f1dae0deb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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");