rs6000.c (print_operand, <case 'z'>): Make sure that we are in INDIRECT mode when getting the stub name.

2004-06-08  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/rs6000/rs6000.c (print_operand, <case 'z'>):
        Make sure that we are in INDIRECT mode when getting the
        stub name.

From-SVN: r82777
This commit is contained in:
Andrew Pinski 2004-06-08 18:56:45 +00:00 committed by Andrew Pinski
parent 03defda9a0
commit 3b48085e66
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-06-08 Andrew Pinski <pinskia@physics.uc.edu>
* config/rs6000/rs6000.c (print_operand, <case 'z'>):
Make sure that we are in INDIRECT mode when getting the
stub name.
2004-06-08 Anil Paranjpe <anilp1@kpitcummins.com>
* h8300.md (extendqisi2_h8300): Add constraints.

View File

@ -9744,7 +9744,8 @@ print_operand (FILE *file, rtx x, int code)
{
const char *name = XSTR (x, 0);
#if TARGET_MACHO
if (machopic_classify_name (name) == MACHOPIC_UNDEFINED_FUNCTION)
if (MACHOPIC_INDIRECT
&& machopic_classify_name (name) == MACHOPIC_UNDEFINED_FUNCTION)
name = machopic_stub_name (name);
#endif
assemble_name (file, name);