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:
parent
2d63fb6c15
commit
005faa9df8
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2013-07-05 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
* boards/local-remote-host.exp: Remove obsolete comments.
|
* boards/local-remote-host.exp: Remove obsolete comments.
|
||||||
|
|
|
@ -21,7 +21,7 @@ extern int final (int arg);
|
||||||
|
|
||||||
typedef int (*final_t) (int arg);
|
typedef int (*final_t) (int arg);
|
||||||
|
|
||||||
asm (".type gnu_ifunc, @gnu_indirect_function");
|
asm (".type gnu_ifunc, %gnu_indirect_function");
|
||||||
|
|
||||||
final_t
|
final_t
|
||||||
gnu_ifunc (void)
|
gnu_ifunc (void)
|
||||||
|
|
Loading…
Reference in a new issue