[rtems-crossrpms commit] New.

Ralf Corsepius ralf at rtems.org
Wed Apr 4 13:11:21 UTC 2012


Module:    rtems-crossrpms
Branch:    rtems-4-10-branch
Commit:    2d74ac0b726ab6c1e3030980f6cbf64be883b553
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=2d74ac0b726ab6c1e3030980f6cbf64be883b553

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Wed Mar 14 17:59:24 2012 +0100

New.

---

 patches/gcc-g++-4.4.7-rtems4.10-20120314.diff |  104 +++++++++++++++++++++++++
 1 files changed, 104 insertions(+), 0 deletions(-)

diff --git a/patches/gcc-g++-4.4.7-rtems4.10-20120314.diff b/patches/gcc-g++-4.4.7-rtems4.10-20120314.diff
new file mode 100644
index 0000000..c5e3695
--- /dev/null
+++ b/patches/gcc-g++-4.4.7-rtems4.10-20120314.diff
@@ -0,0 +1,104 @@
+diff -Naur gcc-4.4.7.orig/gcc/cp/cfns.h gcc-4.4.7/gcc/cp/cfns.h
+--- gcc-4.4.7.orig/gcc/cp/cfns.h	2009-02-18 22:01:03.000000000 +0100
++++ gcc-4.4.7/gcc/cp/cfns.h	2012-03-14 17:15:52.880065289 +0100
+@@ -1,5 +1,5 @@
+-/* ANSI-C code produced by gperf version 3.0.1 */
+-/* Command-line: gperf -o -C -E -k '1-6,$' -j1 -D -N libc_name_p -L ANSI-C ../../gcc/cp/cfns.gperf  */
++/* ANSI-C code produced by gperf version 3.0.3 */
++/* Command-line: gperf -o -C -E -k '1-6,$' -j1 -D -N libc_name_p -L ANSI-C cfns.gperf  */
+ 
+ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
+       && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
+@@ -57,13 +57,13 @@
+       400, 400, 400, 400, 400, 400, 400, 400, 400, 400,
+       400, 400, 400, 400, 400, 400, 400, 400, 400, 400,
+       400, 400, 400, 400, 400, 400, 400, 400,   0,   0,
+-	1, 400, 400, 400, 400, 400, 400, 400, 400, 400,
++        1, 400, 400, 400, 400, 400, 400, 400, 400, 400,
+       400, 400, 400, 400, 400, 400, 400, 400, 400, 400,
+       400, 400, 400, 400, 400, 400, 400, 400, 400, 400,
+       400, 400, 400, 400, 400, 400, 400, 400, 400, 400,
+       400, 400, 400, 400, 400, 400, 400,  28,  90,   0,
+        95,   0,  51,  93, 114,  26, 109, 124,   5,   1,
+-	6,  13,  37, 128,   3,   0,   0,  49,  38,   0,
++        6,  13,  37, 128,   3,   0,   0,  49,  38,   0,
+       104,  45,   0, 400, 400, 400, 400, 400, 400, 400,
+       400, 400, 400, 400, 400, 400, 400, 400, 400, 400,
+       400, 400, 400, 400, 400, 400, 400, 400, 400, 400,
+@@ -84,29 +84,32 @@
+   switch (hval)
+     {
+       default:
+-	hval += asso_values[(unsigned char)str[5]+1];
++        hval += asso_values[(unsigned char)str[5]+1];
+       /*FALLTHROUGH*/
+       case 5:
+-	hval += asso_values[(unsigned char)str[4]];
++        hval += asso_values[(unsigned char)str[4]];
+       /*FALLTHROUGH*/
+       case 4:
+-	hval += asso_values[(unsigned char)str[3]];
++        hval += asso_values[(unsigned char)str[3]];
+       /*FALLTHROUGH*/
+       case 3:
+-	hval += asso_values[(unsigned char)str[2]];
++        hval += asso_values[(unsigned char)str[2]];
+       /*FALLTHROUGH*/
+       case 2:
+-	hval += asso_values[(unsigned char)str[1]];
++        hval += asso_values[(unsigned char)str[1]];
+       /*FALLTHROUGH*/
+       case 1:
+-	hval += asso_values[(unsigned char)str[0]];
+-	break;
++        hval += asso_values[(unsigned char)str[0]];
++        break;
+     }
+   return hval + asso_values[(unsigned char)str[len - 1]];
+ }
+ 
+ #ifdef __GNUC__
+ __inline
++#ifdef __GNUC_STDC_INLINE__
++__attribute__ ((__gnu_inline__))
++#endif
+ #endif
+ const char *
+ libc_name_p (register const char *str, register unsigned int len)
+@@ -329,17 +332,17 @@
+       register int key = hash (str, len);
+ 
+       if (key <= MAX_HASH_VALUE && key >= 0)
+-	{
+-	  register int index = lookup[key];
++        {
++          register int index = lookup[key];
+ 
+-	  if (index >= 0)
+-	    {
+-	      register const char *s = wordlist[index];
+-
+-	      if (*str == *s && !strcmp (str + 1, s + 1))
+-		return s;
+-	    }
+-	}
++          if (index >= 0)
++            {
++              register const char *s = wordlist[index];
++
++              if (*str == *s && !strcmp (str + 1, s + 1))
++                return s;
++            }
++        }
+     }
+   return 0;
+ }
+diff -Naur gcc-4.4.7.orig/gcc/cp/ChangeLog.rtems gcc-4.4.7/gcc/cp/ChangeLog.rtems
+--- gcc-4.4.7.orig/gcc/cp/ChangeLog.rtems	1970-01-01 01:00:00.000000000 +0100
++++ gcc-4.4.7/gcc/cp/ChangeLog.rtems	2012-03-14 17:15:52.880065289 +0100
+@@ -0,0 +1,5 @@
++2011-08-29	Ralf Corsépius <ralf.corsepius at rtems.org> 
++	and Eric Norum <wenorum at lbl.gov>
++
++	Fix bootstrap breakdowns on OS X 10.7.1 (Lion):
++	* cfns.h: Regenerate.




More information about the vc mailing list