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-Tag: cygwin-1_7_21-release~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=005faa9df8d6940c2729a2fe392a265b51f7471e;p=external%2Fbinutils.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 e9fb4ab..a765a32 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 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)