summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0351-PR-target-44643.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-06-17 17:11:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-23 11:49:04 +0100
commit68b545f4ff719f2b6e57d68b002dc9845c7a14ae (patch)
treef21182fa4d1394686b9afafbaac6d90bc3aa69a8 /meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0351-PR-target-44643.patch
parentb32666e29999c7c698b1a1378f96844fbc48358d (diff)
downloadopenembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.tar.gz
openembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.tar.bz2
openembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.tar.xz
openembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.zip
gcc-4.6: Switch to using svn SRC_URI for recipe
We call the recipes 4.6 Remove the backport patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0351-PR-target-44643.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0351-PR-target-44643.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0351-PR-target-44643.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0351-PR-target-44643.patch
deleted file mode 100644
index 18b150103..000000000
--- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0351-PR-target-44643.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From b17f4e7b2f554537d075f35ad5d1b40419d119e8 Mon Sep 17 00:00:00 2001
-From: gjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Thu, 26 May 2011 12:52:03 +0000
-Subject: [PATCH] PR target/44643
- * config/avr/avr.c (avr_insert_attributes): Leave TREE_READONLY
- alone. Error if non-const data has attribute progmem.
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174281 138bc75d-0d04-0410-961f-82ee72b054a4
-
-index 92cc7b6..19b020b 100644
---- a/gcc/config/avr/avr.c
-+++ b/gcc/config/avr/avr.c
-@@ -4995,14 +4995,20 @@ avr_insert_attributes (tree node, tree *attributes)
- && (TREE_STATIC (node) || DECL_EXTERNAL (node))
- && avr_progmem_p (node, *attributes))
- {
-- static const char dsec[] = ".progmem.data";
-- *attributes = tree_cons (get_identifier ("section"),
-- build_tree_list (NULL, build_string (strlen (dsec), dsec)),
-- *attributes);
--
-- /* ??? This seems sketchy. Why can't the user declare the
-- thing const in the first place? */
-- TREE_READONLY (node) = 1;
-+ if (TREE_READONLY (node))
-+ {
-+ static const char dsec[] = ".progmem.data";
-+
-+ *attributes = tree_cons (get_identifier ("section"),
-+ build_tree_list (NULL, build_string (strlen (dsec), dsec)),
-+ *attributes);
-+ }
-+ else
-+ {
-+ error ("variable %q+D must be const in order to be put into"
-+ " read-only section by means of %<__attribute__((progmem))%>",
-+ node);
-+ }
- }
- }
-
---
-1.7.0.4
-