aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorWill Newton <willnewton@sourceware.org>2013-07-05 10:40:10 +0000
committerWill Newton <willnewton@sourceware.org>2013-07-05 10:40:10 +0000
commit005faa9df8d6940c2729a2fe392a265b51f7471e (patch)
tree5cf49be88baf9f1ffc4186181f223fbc13779570 /gdb/testsuite
parent2d63fb6c154a6e2a57967c1b4e5aa607df882bfd (diff)
downloadgdb-005faa9df8d6940c2729a2fe392a265b51f7471e.zip
gdb-005faa9df8d6940c2729a2fe392a265b51f7471e.tar.gz
gdb-005faa9df8d6940c2729a2fe392a265b51f7471e.tar.bz2
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 <will.newton@linaro.org> * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function in asm syntax to allow building on ARM.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/gnu-ifunc-lib.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index e9fb4ab..a765a32 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-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.
+
2013-07-05 Yao Qi <yao@codesourcery.com>
* 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 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)