re PR target/28995 (libgfortran build now fails on Darwin PPC)

2006-09-09  Eric Christopher  <echristo@apple.com>

        PR target/28995
        * config/darwin.c (machopic_select_rtx_section): Add TARGET_64BIT
        for literal16.

From-SVN: r116810
This commit is contained in:
Eric Christopher 2006-09-10 07:09:38 +00:00 committed by Eric Christopher
parent fb366039a9
commit 1be1e2dd0c
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-09-09 Eric Christopher <echristo@apple.com>
PR target/28995
* config/darwin.c (machopic_select_rtx_section): Add TARGET_64BIT
for literal16.
2006-09-09 Roger Sayle <roger@eyesopen.com>
Nicolas Setton <setton@adacore.com>

View file

@ -1239,7 +1239,8 @@ machopic_select_rtx_section (enum machine_mode mode, rtx x,
&& (GET_CODE (x) == CONST_INT
|| GET_CODE (x) == CONST_DOUBLE))
return darwin_sections[literal4_section];
else if (GET_MODE_SIZE (mode) == 16
else if (TARGET_64BIT
&& GET_MODE_SIZE (mode) == 16
&& (GET_CODE (x) == CONST_INT
|| GET_CODE (x) == CONST_DOUBLE))
return darwin_sections[literal16_section];