Commit f7fcfd3f by Jim Wilson

(FUNCTION_PROFILER): Concatenate strings to avoid

use of ANSI C specific feature.

From-SVN: r6490
parent dc55be0e
...@@ -664,8 +664,8 @@ do { register int i; \ ...@@ -664,8 +664,8 @@ do { register int i; \
/* HP-UX needs the call to mcount before the link instruction. /* HP-UX needs the call to mcount before the link instruction.
Copy the return address onto the stack before the call to fake it out. */ Copy the return address onto the stack before the call to fake it out. */
#define FUNCTION_PROFILER(FILE, LABEL_NO) \ #define FUNCTION_PROFILER(FILE, LABEL_NO) \
fprintf (FILE, "\tmovel a6@(4),sp@-\n" \ fprintf (FILE, \
"\tmovl #LP%d,a0\n\tjsr mcount\n" \ "\tmovel a6@(4),sp@-\n\tmovl #LP%d,a0\n\tjsr mcount\n\taddqw #4,sp\n", \
"\taddqw #4,sp\n", (LABEL_NO)); (LABEL_NO));
#endif /* not HPUX_ASM */ #endif /* not HPUX_ASM */
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