From 68b545f4ff719f2b6e57d68b002dc9845c7a14ae Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 17 Jun 2011 17:11:43 -0700 Subject: 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 --- .../0351-PR-target-44643.patch | 44 ---------------------- 1 file changed, 44 deletions(-) delete mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0351-PR-target-44643.patch (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0351-PR-target-44643.patch') 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 -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 - -- cgit v1.2.3