aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2006-09-10 07:09:38 +0000
committerEric Christopher <echristo@gcc.gnu.org>2006-09-10 07:09:38 +0000
commit1be1e2dd0ca378af29caebf419f36e5f7e17d589 (patch)
tree940c9919a1e203de0b0abf2af48b19aa3bc7e574
parentfb366039a906e72f7724622f5befae03efb89aff (diff)
downloadgcc-1be1e2dd0ca378af29caebf419f36e5f7e17d589.zip
gcc-1be1e2dd0ca378af29caebf419f36e5f7e17d589.tar.gz
gcc-1be1e2dd0ca378af29caebf419f36e5f7e17d589.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/darwin.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c2b0ef2..1acac7f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 77e2f0e..6ceb808 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -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];