Add tests for PR ld/20513
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elfvers / vers7a.c
index 7bee8c70bfe3707ce7235cccad4aef5d1a795b98..f3d2a2d989706ae51091457b9db5c96d29929123 100644 (file)
@@ -2,6 +2,8 @@
  * Test supplied by Ulrich.  Verify that we can correctly force 'a'
  * to local scope.
  */
+#include "vers.h"
+
 int
 __a_internal (int e)
 {
@@ -14,5 +16,5 @@ __b_internal (int e)
   return e + 42;
 }
 
-asm (".symver __a_internal,hide_a@@VERS_1");
-asm (".symver __b_internal,show_b@@VERS_1");
+SYMVER(__a_internal, hide_a@@VERS_1);
+SYMVER(__b_internal, show_b@@VERS_1);
This page took 0.023041 seconds and 4 git commands to generate.