gdb/testsuite/gdb.base/gnu-ifunc-lib.c: Use %function syntax.
authorWill Newton <willnewton@sourceware.org>
Fri, 5 Jul 2013 10:40:10 +0000 (10:40 +0000)
committerWill Newton <willnewton@sourceware.org>
Fri, 5 Jul 2013 10:40:10 +0000 (10:40 +0000)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/gnu-ifunc-lib.c

index e9fb4ab..a765a32 100644 (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.
index 803ac93..a3fe061 100644 (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)