diff options
author | Alan Modra <amodra@gmail.com> | 2020-06-16 22:39:44 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-06-16 22:44:13 +0930 |
commit | 5f8989944880cad1bfffab3801214a0a9b67b72e (patch) | |
tree | 9d83a2a87412e2934ee94e4b18b72fd935a2d8c7 /ld | |
parent | 07e7fdfd429985f061630c46e91cb10579607233 (diff) | |
download | gdb-5f8989944880cad1bfffab3801214a0a9b67b72e.zip gdb-5f8989944880cad1bfffab3801214a0a9b67b72e.tar.gz gdb-5f8989944880cad1bfffab3801214a0a9b67b72e.tar.bz2 |
Re: Use __asm__ rather than asm in ld testsuite
* testsuite/ld-elf/pr19553c.c: Replace asm with __asm__.
* testsuite/ld-elfvers/vers27b.c: Likewise.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr19553c.c | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers27b.c | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index aa20f50..ad268c8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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. diff --git a/ld/testsuite/ld-elf/pr19553c.c b/ld/testsuite/ld-elf/pr19553c.c index 7587b4a..dac09d9 100644 --- a/ld/testsuite/ld-elf/pr19553c.c +++ b/ld/testsuite/ld-elf/pr19553c.c @@ -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 diff --git a/ld/testsuite/ld-elfvers/vers27b.c b/ld/testsuite/ld-elfvers/vers27b.c index 3fe5615..95f9f43 100644 --- a/ld/testsuite/ld-elfvers/vers27b.c +++ b/ld/testsuite/ld-elfvers/vers27b.c @@ -1,3 +1,3 @@ #include "vers.h" void foo () {} -asm (".hidden " SYMPFX(foo)); +__asm__ (".hidden " SYMPFX(foo)); |