1 /* To compile this, type: 2 gcc -shared -Wl,--version-script=test12-version-script -o libtest12-v0.so test12-v0.c 3 */ 4 int _foo1(int v)5_foo1(int v) 6 {return v + 1;} 7 asm(".symver _foo1,foo@VERSION_1.0"); 8 9 int _foo2(int v)10_foo2(int v) 11 {return v + 2;} 12 asm(".symver _foo2,foo@@VERSION_2.0"); 13