Commit | Line | Data |
---|---|---|
1 | /* Test whether .symver x, x@foo | |
2 | causes relocations against x within the same shared library | |
3 | to become dynamic relocations against x@foo. */ | |
4 | #include "vers.h" | |
5 | ||
6 | int x = 12; | |
7 | SYMVER(x, x@VERS.0); | |
8 | void foo (void) | |
9 | { | |
10 | x = 24; | |
11 | } |