Commit 76243d10 by Kaz Kojima

config/sh/linux.h (FUNCTION_PROFILER): Constify a char*.

From-SVN: r101225
parent 4818f841
2005-06-20 Kaz Kojima <kkojima@gcc.gnu.org>
config/sh/linux.h (FUNCTION_PROFILER): Constify a char*.
2005-06-20 Roger Sayle <roger@eyesopen.com>
2005-06-20 Fariborz Jahanian <fjahanian@apple.com>
......
......@@ -75,7 +75,7 @@ Boston, MA 02111-1307, USA. */
fprintf (STREAM, "\tst.l\tr15,0,r18\n"); \
if (flag_pic) \
{ \
char *gofs = "(datalabel _GLOBAL_OFFSET_TABLE_-(0f-.))"; \
const char *gofs = "(datalabel _GLOBAL_OFFSET_TABLE_-(0f-.))"; \
fprintf (STREAM, "\tmovi\t((%s>>16)&0xffff),r21\n", gofs); \
fprintf (STREAM, "\tshori\t(%s & 0xffff),r21\n", gofs); \
fprintf (STREAM, "0:\tptrel/u\tr21,tr0\n"); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment