Debian Codegraph @

ld/testsuite/ld-elfvers/vers24c.c

raw
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 int x = 12;
5 __asm__ (".symver x, [email protected]");
6 void foo (void)
7 {
8 x = 24;
9 }