binutils-gdb/ld/testsuite/ld-elf/pr19553c.c
Alan Modra 5f89899448 Re: Use __asm__ rather than asm in ld testsuite
* testsuite/ld-elf/pr19553c.c: Replace asm with __asm__.
	* testsuite/ld-elfvers/vers27b.c: Likewise.
2020-06-16 22:44:13 +09:30

13 lines
216 B
C

#include <stdio.h>
void
foo (void)
{
printf ("pr19553c\n");
}
__asm__ (".symver foo,foo@FOO");
#if defined __powerpc64__ && defined _CALL_AIXDESC && !defined _CALL_LINUX
__asm__ (".symver .foo,.foo@FOO");
#endif