diff options
author | Will Newton <willnewton@sourceware.org> | 2013-07-05 10:40:10 +0000 |
---|---|---|
committer | Will Newton <willnewton@sourceware.org> | 2013-07-05 10:40:10 +0000 |
commit | 005faa9df8d6940c2729a2fe392a265b51f7471e (patch) | |
tree | 5cf49be88baf9f1ffc4186181f223fbc13779570 /gdb/testsuite/gdb.base | |
parent | 2d63fb6c154a6e2a57967c1b4e5aa607df882bfd (diff) | |
download | gdb-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/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/gnu-ifunc-lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |