From ca6f2eefa4d61ec714e0d63d39e9120ad1e72e66 Mon Sep 17 00:00:00 2001
From: Eric Christopher <echristo@apple.com>
Date: Sun, 10 Sep 2006 19:28:17 +0000
Subject: [PATCH] darwin.c (machopic_select_rtx_section): Add CONST_VECTOR for
 literal16.

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

        * config/darwin.c (machopic_select_rtx_section): Add CONST_VECTOR
        for literal16.

From-SVN: r116821
---
 gcc/ChangeLog       | 5 +++++
 gcc/config/darwin.c | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1acac7f654b8..5b338e008569 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-10  Eric Christopher  <echristo@apple.com>
+
+	* config/darwin.c (machopic_select_rtx_section): Add CONST_VECTOR
+	for literal16.
+
 2006-09-09  Eric Christopher  <echristo@apple.com>
 
 	PR target/28995
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 6ceb80849047..e486594b702f 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -1242,7 +1242,8 @@ machopic_select_rtx_section (enum machine_mode mode, rtx x,
   else if (TARGET_64BIT
 	   && GET_MODE_SIZE (mode) == 16
 	   && (GET_CODE (x) == CONST_INT
-	       || GET_CODE (x) == CONST_DOUBLE))
+	       || GET_CODE (x) == CONST_DOUBLE
+	       || GET_CODE (x) == CONST_VECTOR))
     return darwin_sections[literal16_section];
   else if (MACHOPIC_INDIRECT
 	   && (GET_CODE (x) == SYMBOL_REF