Commit 2e53734e by Geoffrey Keating Committed by Geoffrey Keating

darwin.c (machopic_select_rtx_section): Use const_data_section for things that…

darwin.c (machopic_select_rtx_section): Use const_data_section for things that might require relocation.

	* config/darwin.c (machopic_select_rtx_section): Use
	const_data_section for things that might require relocation.

From-SVN: r71345
parent edeb3871
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> 2003-09-12 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/12264 PR bootstrap/12264
......
...@@ -1242,6 +1242,11 @@ machopic_select_rtx_section (enum machine_mode mode, rtx x, ...@@ -1242,6 +1242,11 @@ machopic_select_rtx_section (enum machine_mode mode, rtx x,
&& (GET_CODE (x) == CONST_INT && (GET_CODE (x) == CONST_INT
|| GET_CODE (x) == CONST_DOUBLE)) || GET_CODE (x) == CONST_DOUBLE))
literal4_section (); 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 else
const_section (); const_section ();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment