aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-size/size-1b.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-06-16 21:46:00 +0930
committerAlan Modra <amodra@gmail.com>2020-06-16 22:13:20 +0930
commit07e7fdfd429985f061630c46e91cb10579607233 (patch)
treeede8a18c253a31669fe7f7159e9ed8e287a5a885 /ld/testsuite/ld-size/size-1b.c
parent423054beadf317757d43aefb9eddfe711a42e3e1 (diff)
downloadgdb-07e7fdfd429985f061630c46e91cb10579607233.zip
gdb-07e7fdfd429985f061630c46e91cb10579607233.tar.gz
gdb-07e7fdfd429985f061630c46e91cb10579607233.tar.bz2
Use __asm__ rather than asm in ld testsuite
* testsuite/ld-elf/pr23428.c: Define _DEFAULT_SOURCE. * testsuite/ld-elf/indirect1b.c: Replace asm with __asm__. * testsuite/ld-elf/indirect2.c: Likewise. * testsuite/ld-elf/indirect3b.c: Likewise. * testsuite/ld-elf/indirect4b.c: Likewise. * testsuite/ld-elf/pr14323-2.c: Likewise. * testsuite/ld-elf/pr18720b.c: Likewise. * testsuite/ld-elf/pr23428.c: Likewise. * testsuite/ld-elfvsb/common.c: Likewise. * testsuite/ld-elfvsb/main.c: Likewise. * testsuite/ld-elfvsb/sh1.c: Likewise. * testsuite/ld-elfvsb/test.c: Likewise. * testsuite/ld-pe/aligncomm-1.c: Likewise. * testsuite/ld-pe/aligncomm-2.c: Likewise. * testsuite/ld-pe/aligncomm-3.c: Likewise. * testsuite/ld-pe/aligncomm-4.c: Likewise. * testsuite/ld-plugin/pr23958.c: Likewise. * testsuite/ld-size/size-1b.c: Likewise. * testsuite/ld-size/size-2b.c: Likewise. * testsuite/ld-size/size-3a.c: Likewise. * testsuite/ld-size/size-3b.c: Likewise. * testsuite/ld-size/size-3c.c: Likewise. * testsuite/ld-size/size-4b.c: Likewise. * testsuite/ld-size/size-5b.c: Likewise. * testsuite/ld-size/size-6a.c: Likewise. * testsuite/ld-size/size-7a.c: Likewise. * testsuite/ld-size/size-8a.c: Likewise. * testsuite/ld-size/size-9b.c: Likewise. * testsuite/ld-size/size-10b.c: Likewise.
Diffstat (limited to 'ld/testsuite/ld-size/size-1b.c')
-rw-r--r--ld/testsuite/ld-size/size-1b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-size/size-1b.c b/ld/testsuite/ld-size/size-1b.c
index 723c60a..da93722 100644
--- a/ld/testsuite/ld-size/size-1b.c
+++ b/ld/testsuite/ld-size/size-1b.c
@@ -1,3 +1,3 @@
extern char bar[];
-extern char size_of_bar asm ("bar@SIZE");
+extern char size_of_bar __asm__ ("bar@SIZE");
char *bar_size = &size_of_bar;