vers24c.c 230 B

1234567891011
  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. int x = 12;
  6. SYMVER(x, x@VERS.0);
  7. void foo (void)
  8. {
  9. x = 24;
  10. }