Commit b79d4265 by Stan Shebs Committed by Stan Shebs

darwin.c (machopic_select_rtx_section): Don't put relocatable expressions in the .literal8 section.

        * config/darwin.c (machopic_select_rtx_section): Don't put relocatable
        expressions in the .literal8 section.

From-SVN: r95250
parent 95432490
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> 2005-02-18 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/darwin-tramp.asm: Remove stray 'APPLE LOCAL' marker. * config/rs6000/darwin-tramp.asm: Remove stray 'APPLE LOCAL' marker.
......
...@@ -1156,7 +1156,9 @@ void ...@@ -1156,7 +1156,9 @@ void
machopic_select_rtx_section (enum machine_mode mode, rtx x, machopic_select_rtx_section (enum machine_mode mode, rtx x,
unsigned HOST_WIDE_INT align ATTRIBUTE_UNUSED) 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 (); literal8_section ();
else if (GET_MODE_SIZE (mode) == 4 else if (GET_MODE_SIZE (mode) == 4
&& (GET_CODE (x) == CONST_INT && (GET_CODE (x) == CONST_INT
......
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