source: trunk/binutils/ld/testsuite/ld-elfvers/vers24c.c

Last change on this file was 607, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 223 bytes
Line 
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. */
4int x = 12;
5__asm__ (".symver x, x@VERS.0");
6void foo (void)
7{
8 x = 24;
9}
Note: See TracBrowser for help on using the repository browser.