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.
This commit is contained in:
Will Newton 2013-07-05 10:40:10 +00:00
parent 2d63fb6c15
commit 005faa9df8
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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)