From 005faa9df8d6940c2729a2fe392a265b51f7471e Mon Sep 17 00:00:00 2001 From: Will Newton Date: Fri, 5 Jul 2013 10:40:10 +0000 Subject: [PATCH] gdb/testsuite/gdb.base/gnu-ifunc-lib.c: Use %function syntax. ARM uses @ as a comment character, but % seems to be usable by all existing ifunc enabled architectures. gdb/testsuite/ChangeLog: 2013-07-05 Will Newton * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function in asm syntax to allow building on ARM. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/gnu-ifunc-lib.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e9fb4aba318..a765a327f1c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-07-05 Will Newton + + * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function + in asm syntax to allow building on ARM. + 2013-07-05 Yao Qi * boards/local-remote-host.exp: Remove obsolete comments. diff --git a/gdb/testsuite/gdb.base/gnu-ifunc-lib.c b/gdb/testsuite/gdb.base/gnu-ifunc-lib.c index 803ac9305de..a3fe06109d7 100644 --- a/gdb/testsuite/gdb.base/gnu-ifunc-lib.c +++ b/gdb/testsuite/gdb.base/gnu-ifunc-lib.c @@ -21,7 +21,7 @@ extern int final (int arg); typedef int (*final_t) (int arg); -asm (".type gnu_ifunc, @gnu_indirect_function"); +asm (".type gnu_ifunc, %gnu_indirect_function"); final_t gnu_ifunc (void) -- 2.30.2