Re: Use __asm__ rather than asm in ld testsuite

* testsuite/ld-elf/pr19553c.c: Replace asm with __asm__.
	* testsuite/ld-elfvers/vers27b.c: Likewise.
This commit is contained in:
Alan Modra 2020-06-16 22:39:44 +09:30
parent 07e7fdfd42
commit 5f89899448
3 changed files with 5 additions and 3 deletions

View File

@ -7,7 +7,9 @@
* testsuite/ld-elf/indirect4b.c: Likewise.
* testsuite/ld-elf/pr14323-2.c: Likewise.
* testsuite/ld-elf/pr18720b.c: Likewise.
* testsuite/ld-elf/pr19553c.c: Likewise.
* testsuite/ld-elf/pr23428.c: Likewise.
* testsuite/ld-elfvers/vers27b.c: Likewise.
* testsuite/ld-elfvsb/common.c: Likewise.
* testsuite/ld-elfvsb/main.c: Likewise.
* testsuite/ld-elfvsb/sh1.c: Likewise.

View File

@ -6,7 +6,7 @@ foo (void)
printf ("pr19553c\n");
}
asm (".symver foo,foo@FOO");
__asm__ (".symver foo,foo@FOO");
#if defined __powerpc64__ && defined _CALL_AIXDESC && !defined _CALL_LINUX
asm (".symver .foo,.foo@FOO");
__asm__ (".symver .foo,.foo@FOO");
#endif

View File

@ -1,3 +1,3 @@
#include "vers.h"
void foo () {}
asm (".hidden " SYMPFX(foo));
__asm__ (".hidden " SYMPFX(foo));