const_data_section for things that might require relocation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71345
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-09-12 Geoffrey Keating <geoffk@apple.com>
+
+ * config/darwin.c (machopic_select_rtx_section): Use
+ const_data_section for things that might require relocation.
+
2003-09-12 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/12264
&& (GET_CODE (x) == CONST_INT
|| GET_CODE (x) == CONST_DOUBLE))
literal4_section ();
+ else if (! MACHO_DYNAMIC_NO_PIC_P
+ && (GET_CODE (x) == SYMBOL_REF
+ || GET_CODE (x) == CONST
+ || GET_CODE (x) == LABEL_REF))
+ const_data_section ();
else
const_section ();
}