From: Will Newton Date: Fri, 5 Jul 2013 10:40:10 +0000 (+0000) Subject: gdb/testsuite/gdb.base/gnu-ifunc-lib.c: Use %function syntax. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=005faa9df8d6940c2729a2fe392a265b51f7471e;p=binutils-gdb.git 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. --- 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)