Commit 3b6ce0af by David Edelsohn Committed by David Edelsohn

rs6000.c (output_function_profiler): Append @plt when compiling PIC.

2004-03-04  David Edelsohn  <edelsohn@gnu.org>
            GP <gp@qnx.com>

        * config/rs6000/rs6000.c (output_function_profiler): Append @plt
        when compiling PIC.

Co-Authored-By: GP <gp@qnx.com>

From-SVN: r78912
parent 1f6ad0b5
2004-03-04 David Edelsohn <edelsohn@gnu.org>
GP <gp@qnx.com>
* config/rs6000/rs6000.c (output_function_profiler): Append @plt
when compiling PIC.
2004-03-04 Josef Zlomek <zlomekj@suse.cz> 2004-03-04 Josef Zlomek <zlomekj@suse.cz>
PR/14362 PR/14362
......
...@@ -9063,7 +9063,7 @@ print_operand (FILE *file, rtx x, int code) ...@@ -9063,7 +9063,7 @@ print_operand (FILE *file, rtx x, int code)
case 'Q': case 'Q':
if (TARGET_MFCRF) if (TARGET_MFCRF)
fputc (',',file); fputc (',', file);
/* FALLTHRU */ /* FALLTHRU */
else else
return; return;
...@@ -13682,7 +13682,8 @@ output_function_profiler (FILE *file, int labelno) ...@@ -13682,7 +13682,8 @@ output_function_profiler (FILE *file, int labelno)
} }
/* ABI_V4 saves the static chain reg with ASM_OUTPUT_REG_PUSH. */ /* ABI_V4 saves the static chain reg with ASM_OUTPUT_REG_PUSH. */
fprintf (file, "\tbl %s\n", RS6000_MCOUNT); fprintf (file, "\tbl %s%s\n",
RS6000_MCOUNT, flag_pic ? "@plt" : "");
break; break;
case ABI_AIX: case ABI_AIX:
......
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