aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers/vers15.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elfvers/vers15.c')
-rw-r--r--ld/testsuite/ld-elfvers/vers15.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ld/testsuite/ld-elfvers/vers15.c b/ld/testsuite/ld-elfvers/vers15.c
index 4e22cac..2457d29 100644
--- a/ld/testsuite/ld-elfvers/vers15.c
+++ b/ld/testsuite/ld-elfvers/vers15.c
@@ -3,6 +3,7 @@
* that we always get the right one.
*/
#include <stdio.h>
+#include "vers.h"
int
foo_1()
@@ -31,6 +32,6 @@ main()
return 0;
}
-__asm__(".symver foo_1,show_foo@");
-__asm__(".symver foo_2,show_foo@VERS_1.1");
-__asm__(".symver foo_3,show_foo@@VERS_1.2");
+SYMVER(foo_1, show_foo@);
+SYMVER(foo_2, show_foo@VERS_1.1);
+SYMVER(foo_3, show_foo@@VERS_1.2);