ld: elfvers tests: support symbol prefixed targets
[binutils.git] / ld / testsuite / ld-elfvers / vers24c.c
blob6e69b334ba1d94f9a02f58f74bdc3ceba097f17c
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"
6 int x = 12;
7 SYMVER(x, x@VERS.0);
8 void foo (void)
10 x = 24;