Author: jim
Date: 2006-04-22 08:57:39 -0600 (Sat, 22 Apr 2006)
New Revision: 1500
Added:
trunk/gcc/gcc-3.4.6-constraints-1.patch
Modified:
trunk/
Log:
[EMAIL PROTECTED]: jim | 2006-04-22 07:56:37 -0700
Added: Fix to GCC 3.4.6 to fixes the cpmangle.h delcaration
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- cc2644d5-6cf8-0310-b111-c40428001e49:/patches:1710
e59974df-c20a-0410-b7e1-d7eaf1be8828:/patches:1624
+ cc2644d5-6cf8-0310-b111-c40428001e49:/patches:1710
e59974df-c20a-0410-b7e1-d7eaf1be8828:/patches:1629
Added: trunk/gcc/gcc-3.4.6-constraints-1.patch
===================================================================
--- trunk/gcc/gcc-3.4.6-constraints-1.patch (rev 0)
+++ trunk/gcc/gcc-3.4.6-constraints-1.patch 2006-04-22 14:57:39 UTC (rev
1500)
@@ -0,0 +1,42 @@
+Submitted By: Jim Gifford (patches at jg555 dot com)
+Date: 2006-04-21
+Initial Package Version: 3.4.6
+Origin: Jim Gifford
+Upstream Status: Delayed till {unknown}
+Description: Fixes demangle static constraints
+
+diff -Naur gcc-3.4.6.orig/libiberty/cp-demangle.h
gcc-3.4.6/libiberty/cp-demangle.h
+--- gcc-3.4.6.orig/libiberty/cp-demangle.h 2004-02-25 10:41:51.000000000
-0800
++++ gcc-3.4.6/libiberty/cp-demangle.h 2006-04-22 06:59:32.000000000 -0700
+@@ -131,18 +131,27 @@
+
+ /* Functions and arrays in cp-demangle.c which are referenced by
+ functions in cp-demint.c. */
++#ifdef IN_GLIBCPP_V3
++#define CP_STATIC_IF_GLIBCPP_V3 static
++#else
++#define CP_STATIC_IF_GLIBCPP_V3 extern
++#endif
+
+-extern const struct demangle_operator_info cplus_demangle_operators[];
++CP_STATIC_IF_GLIBCPP_V3
++const struct demangle_operator_info cplus_demangle_operators[];
+
+ #define D_BUILTIN_TYPE_COUNT (26)
+
+-extern const struct demangle_builtin_type_info
++CP_STATIC_IF_GLIBCPP_V3
++const struct demangle_builtin_type_info
+ cplus_demangle_builtin_types[D_BUILTIN_TYPE_COUNT];
+
+-extern struct demangle_component *
++CP_STATIC_IF_GLIBCPP_V3
++struct demangle_component *
+ cplus_demangle_mangled_name PARAMS ((struct d_info *, int));
+
+-extern struct demangle_component *
++CP_STATIC_IF_GLIBCPP_V3
++struct demangle_component *
+ cplus_demangle_type PARAMS ((struct d_info *));
+
+ extern void
--
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page