Use __asm__ rather than asm in gold testsuite
[deliverable/binutils-gdb.git] / gold / testsuite / ifuncmain7.c
index f6608ea57f509f725a45d87e99f435c3ffa39199..c2524aa5eb7b2100939012fc26cc6c36dbc43af1 100644 (file)
@@ -15,7 +15,7 @@ one (void)
   return -30;
 }
 
-static void * foo_ifunc (void) __asm__ ("foo");
+static void * __attribute__ ((used)) foo_ifunc (void) __asm__ ("foo");
 __asm__(".type foo, %gnu_indirect_function");
 
 static void *
This page took 0.023879 seconds and 4 git commands to generate.