]> gcc.gnu.org Git - gcc.git/commitdiff
rs6000.c (print_operand, <case 'z'>): Make sure that we are in INDIRECT mode when...
authorAndrew Pinski <pinskia@physics.uc.edu>
Tue, 8 Jun 2004 18:56:45 +0000 (18:56 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 8 Jun 2004 18:56:45 +0000 (11:56 -0700)
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

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index c242cb1e053262f7246bac85b03e50d09597c1e2..b251c45ad0c8ee8790d9969a1f58fa887bbdb2a0 100644 (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.
index 4b23dccb717916ca3ff2063bed0fb0451b03a09d..79bc885d9581ec304082a4d894d94996208109f8 100644 (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);
This page took 0.102251 seconds and 5 git commands to generate.