This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] gdb/testsuite/gdb.base/gnu-ifunc-lib.c: Use %function syntax.
- From: Will Newton <will dot newton at linaro dot org>
- To: gdb-patches at sourceware dot org
- Cc: patches at linaro dot org
- Date: Thu, 06 Jun 2013 10:17:26 +0100
- 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-06-05 Will Newton <will.newton@linaro.org>
* gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
in asm syntax to allow building on ARM.
---
gdb/testsuite/gdb.base/gnu-ifunc-lib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/testsuite/gdb.base/gnu-ifunc-lib.c b/gdb/testsuite/gdb.base/gnu-ifunc-lib.c
index 803ac93..a3fe061 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)
--
1.8.1.4