OSDN Git Service

* config/darwin.c (machopic_select_rtx_section): Fix check for PIC code.
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Sep 2003 00:27:37 +0000 (00:27 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Sep 2003 00:27:37 +0000 (00:27 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71617 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/darwin.c

index 49c7e92..9346701 100644 (file)
@@ -1,3 +1,7 @@
+2003-09-20  Andrew Pinski <apinski@apple.com>
+
+       * config/darwin.c (machopic_select_rtx_section): Fix check for PIC code.
+
 2003-09-20  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * Makefile.in: Don't set (unused) DLLTOOL.
index 695ec69..faa9739 100644 (file)
@@ -1242,7 +1242,7 @@ machopic_select_rtx_section (enum machine_mode mode, rtx x,
           && (GET_CODE (x) == CONST_INT
               || GET_CODE (x) == CONST_DOUBLE))
     literal4_section ();
-  else if (! MACHO_DYNAMIC_NO_PIC_P
+  else if (MACHOPIC_INDIRECT
           && (GET_CODE (x) == SYMBOL_REF
               || GET_CODE (x) == CONST
               || GET_CODE (x) == LABEL_REF))