This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix .literal8 handling in 64-bit Darwin


This patch has been kicking around Apple sources for a couple months,
and turns out to be needed to make 64-bit boehm-gc build too.
Bootstrapped and testsuited, no regressions observed.

Stan

2005-02-18 Stan Shebs <shebs@apple.com>

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



*** config/darwin.c 23 Jan 2005 15:05:36 -0000 1.107 --- config/darwin.c 19 Feb 2005 00:04:48 -0000 *************** void *** 1156,1162 **** machopic_select_rtx_section (enum machine_mode mode, rtx x, unsigned HOST_WIDE_INT align ATTRIBUTE_UNUSED) { ! if (GET_MODE_SIZE (mode) == 8) literal8_section (); else if (GET_MODE_SIZE (mode) == 4 && (GET_CODE (x) == CONST_INT --- 1156,1164 ---- machopic_select_rtx_section (enum machine_mode mode, rtx x, unsigned HOST_WIDE_INT align ATTRIBUTE_UNUSED) { ! 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]