Emit a warning when -z relro is unsupported
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elfvers / vers7a.c
index 7bee8c70bfe3707ce7235cccad4aef5d1a795b98..8fcad79f679031e34b8d73fa15225b178a8b1380 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");
+FUNC_SYMVER(__a_internal, hide_a@@VERS_1);
+FUNC_SYMVER(__b_internal, show_b@@VERS_1);
This page took 0.023297 seconds and 4 git commands to generate.