expressions in the .literal8 section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95250
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-02-18 Stan Shebs <shebs@apple.com>
+
+ * config/darwin.c (machopic_select_rtx_section): Don't put relocatable
+ expressions in the .literal8 section.
+
2005-02-18 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/darwin-tramp.asm: Remove stray 'APPLE LOCAL' marker.
machopic_select_rtx_section (enum machine_mode mode, rtx x,
unsigned HOST_WIDE_INT align ATTRIBUTE_UNUSED)
{
- if (GET_MODE_SIZE (mode) == 8)
+ if (GET_MODE_SIZE (mode) == 8
+ && (GET_CODE (x) == CONST_INT
+ || GET_CODE (x) == CONST_DOUBLE))
literal8_section ();
else if (GET_MODE_SIZE (mode) == 4
&& (GET_CODE (x) == CONST_INT