OSDN Git Service

2004-06-08 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jun 2004 18:56:45 +0000 (18:56 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jun 2004 18:56:45 +0000 (18:56 +0000)
        * config/rs6000/rs6000.c (print_operand, <case 'z'>):
        Make sure that we are in INDIRECT mode when getting the
        stub name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82777 138bc75d-0d04-0410-961f-82ee72b054a4

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

index c242cb1..b251c45 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 4b23dcc..79bc885 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);