aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers/vers22a.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elfvers/vers22a.c')
-rw-r--r--ld/testsuite/ld-elfvers/vers22a.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elfvers/vers22a.c b/ld/testsuite/ld-elfvers/vers22a.c
index 288c820..bc5777b 100644
--- a/ld/testsuite/ld-elfvers/vers22a.c
+++ b/ld/testsuite/ld-elfvers/vers22a.c
@@ -1,4 +1,6 @@
-__asm__(".symver _old_bar,bar@VERS.0");
+#include "vers.h"
+
+SYMVER(_old_bar, bar@VERS.0);
void
_old_bar ()