summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2006-06-17 22:32:15 +0000
committerTim Yamin <plasmaroo@gentoo.org>2006-06-17 22:32:15 +0000
commit456b6964aabd284589d190dbc81f23050473d173 (patch)
tree71254e6317c3ced4025828ee1de50e8fe046854c /dev-lang/prc-tools/files
parentVersion bump #137096 by Arthur Koziel. (diff)
downloadgentoo-2-456b6964aabd284589d190dbc81f23050473d173.tar.gz
gentoo-2-456b6964aabd284589d190dbc81f23050473d173.tar.bz2
gentoo-2-456b6964aabd284589d190dbc81f23050473d173.zip
Fix #134659.
(Portage version: 2.1.1_pre1)
Diffstat (limited to 'dev-lang/prc-tools/files')
-rw-r--r--dev-lang/prc-tools/files/digest-prc-tools-2.316
-rw-r--r--dev-lang/prc-tools/files/digest-prc-tools-2.3-r120
-rw-r--r--dev-lang/prc-tools/files/prc-tools-2.3-gcc4.patch354
3 files changed, 383 insertions, 7 deletions
diff --git a/dev-lang/prc-tools/files/digest-prc-tools-2.3 b/dev-lang/prc-tools/files/digest-prc-tools-2.3
index 4de07be0bcd0..2650308ec6b3 100644
--- a/dev-lang/prc-tools/files/digest-prc-tools-2.3
+++ b/dev-lang/prc-tools/files/digest-prc-tools-2.3
@@ -1,5 +1,15 @@
-MD5 038a42a71a984fee6f906abc85a032ec prc-tools-2.3.tar.gz 333417
MD5 2da8def15d28af3ec6af0982709ae90a binutils-2.14.tar.bz2 10921504
-MD5 70e4ade69a2dff2c7b9af9a4ef44798f gdb-5.3.tar.bz2 11198721
-MD5 1135a104e9fa36fdf7c663598fab5c40 gcc-3.3.1.tar.bz2 23544362
+RMD160 e629a1256b5f75552e3360a315d28ad37f11a604 binutils-2.14.tar.bz2 10921504
+SHA256 e20bdd49a0fb317959b410c1fe81269a620ec21207045d8a37cadea621be4b59 binutils-2.14.tar.bz2 10921504
MD5 87ee083a830683e2aaa57463940a0c3c gcc-2.95.3.tar.bz2 9848842
+RMD160 09cca1860ce897000df19643dfd944ae28366a1d gcc-2.95.3.tar.bz2 9848842
+SHA256 cf91a6b4f41248895f06bcd0570a62d2417ee99d32e6e2c5f70490e0eb6af5e4 gcc-2.95.3.tar.bz2 9848842
+MD5 1135a104e9fa36fdf7c663598fab5c40 gcc-3.3.1.tar.bz2 23544362
+RMD160 b3c0025b10de0917a30df55b669e8c6c7ec5814b gcc-3.3.1.tar.bz2 23544362
+SHA256 e6c498d1d310de2f4e5834def91603229e089ad814ac47c8ed6dd6c191b46f35 gcc-3.3.1.tar.bz2 23544362
+MD5 70e4ade69a2dff2c7b9af9a4ef44798f gdb-5.3.tar.bz2 11198721
+RMD160 92c5ee92e993354839f002231164296f51882570 gdb-5.3.tar.bz2 11198721
+SHA256 6e559a98636a1a5d92fd8df31161ed9307eca2234ae2d783dd8c84f500cddb6c gdb-5.3.tar.bz2 11198721
+MD5 038a42a71a984fee6f906abc85a032ec prc-tools-2.3.tar.gz 333417
+RMD160 6c5cce0b0a03a5e6b37c6a7b80dc925e64b0c0a1 prc-tools-2.3.tar.gz 333417
+SHA256 9ae076efc71eb693815cbd8177826d75bd958fef53fb5c9968511a1b2081a173 prc-tools-2.3.tar.gz 333417
diff --git a/dev-lang/prc-tools/files/digest-prc-tools-2.3-r1 b/dev-lang/prc-tools/files/digest-prc-tools-2.3-r1
index 03f077f1c5e2..b31afd25258f 100644
--- a/dev-lang/prc-tools/files/digest-prc-tools-2.3-r1
+++ b/dev-lang/prc-tools/files/digest-prc-tools-2.3-r1
@@ -1,6 +1,18 @@
-MD5 038a42a71a984fee6f906abc85a032ec prc-tools-2.3.tar.gz 333417
+MD5 32a23e84f5d35f4b5aaa1b425bd1a38c MsectGdb2.3-1Patch.tar.bz2 14210
+RMD160 527a45bde13f02133f158e90243800fde8af81fd MsectGdb2.3-1Patch.tar.bz2 14210
+SHA256 4befe806424014b4b5865e7fb0b5f5aed6bcde633bd92757ec3747d61ecdc359 MsectGdb2.3-1Patch.tar.bz2 14210
MD5 2da8def15d28af3ec6af0982709ae90a binutils-2.14.tar.bz2 10921504
-MD5 70e4ade69a2dff2c7b9af9a4ef44798f gdb-5.3.tar.bz2 11198721
-MD5 1135a104e9fa36fdf7c663598fab5c40 gcc-3.3.1.tar.bz2 23544362
+RMD160 e629a1256b5f75552e3360a315d28ad37f11a604 binutils-2.14.tar.bz2 10921504
+SHA256 e20bdd49a0fb317959b410c1fe81269a620ec21207045d8a37cadea621be4b59 binutils-2.14.tar.bz2 10921504
MD5 87ee083a830683e2aaa57463940a0c3c gcc-2.95.3.tar.bz2 9848842
-MD5 32a23e84f5d35f4b5aaa1b425bd1a38c MsectGdb2.3-1Patch.tar.bz2 14210
+RMD160 09cca1860ce897000df19643dfd944ae28366a1d gcc-2.95.3.tar.bz2 9848842
+SHA256 cf91a6b4f41248895f06bcd0570a62d2417ee99d32e6e2c5f70490e0eb6af5e4 gcc-2.95.3.tar.bz2 9848842
+MD5 1135a104e9fa36fdf7c663598fab5c40 gcc-3.3.1.tar.bz2 23544362
+RMD160 b3c0025b10de0917a30df55b669e8c6c7ec5814b gcc-3.3.1.tar.bz2 23544362
+SHA256 e6c498d1d310de2f4e5834def91603229e089ad814ac47c8ed6dd6c191b46f35 gcc-3.3.1.tar.bz2 23544362
+MD5 70e4ade69a2dff2c7b9af9a4ef44798f gdb-5.3.tar.bz2 11198721
+RMD160 92c5ee92e993354839f002231164296f51882570 gdb-5.3.tar.bz2 11198721
+SHA256 6e559a98636a1a5d92fd8df31161ed9307eca2234ae2d783dd8c84f500cddb6c gdb-5.3.tar.bz2 11198721
+MD5 038a42a71a984fee6f906abc85a032ec prc-tools-2.3.tar.gz 333417
+RMD160 6c5cce0b0a03a5e6b37c6a7b80dc925e64b0c0a1 prc-tools-2.3.tar.gz 333417
+SHA256 9ae076efc71eb693815cbd8177826d75bd958fef53fb5c9968511a1b2081a173 prc-tools-2.3.tar.gz 333417
diff --git a/dev-lang/prc-tools/files/prc-tools-2.3-gcc4.patch b/dev-lang/prc-tools/files/prc-tools-2.3-gcc4.patch
new file mode 100644
index 000000000000..7313fc9caed2
--- /dev/null
+++ b/dev-lang/prc-tools/files/prc-tools-2.3-gcc4.patch
@@ -0,0 +1,354 @@
+--- prc-tools-2.3/binutils/gas/config/tc-m68k.h 2003-01-23 12:51:05.000000000 +0000
++++ prc-tools-2.3/binutils/gas/config/tc-m68k.h 2006-06-16 22:21:34.000000000 +0100
+@@ -20,6 +20,7 @@
+ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA. */
+
++#include "../tc.h"
+ #define TC_M68K 1
+
+ #ifdef ANSI_PROTOTYPES
+@@ -106,7 +107,7 @@
+
+ #if !defined (REGISTER_PREFIX_OPTIONAL)
+ #if defined (M68KCOFF) || defined (OBJ_ELF)
+-#ifndef BFD_ASSEMBLER
++#if !defined(BFD_ASSEMBLER) && !defined(LOCAL_LABEL)
+ #define LOCAL_LABEL(name) (name[0] == '.' \
+ && (name[1] == 'L' || name[1] == '.'))
+ #endif /* ! BFD_ASSEMBLER */
+--- prc-tools-2.3/binutils/gas/tc.h 2001-11-15 21:28:53.000000000 +0000
++++ prc-tools-2.3/binutils/gas/tc.h 2006-06-16 22:59:00.000000000 +0100
+@@ -19,6 +19,11 @@
+ along with GAS; see the file COPYING. If not, write to
+ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
++#ifndef _GAS_TC_H
++#define _GAS_TC_H
++
++#include "../write.h"
++
+ /* In theory (mine, at least!) the machine dependent part of the assembler
+ should only have to include one file. This one. -- JF */
+
+@@ -85,18 +90,6 @@
+ #else
+ extern arelent **tc_gen_reloc PARAMS ((asection *, fixS *));
+ #endif
+-#else /* not BFD_ASSEMBLER */
+-#ifndef md_convert_frag
+-void md_convert_frag PARAMS ((object_headers * headers, segT, fragS * fragP));
+-#endif
+-
+-#ifndef tc_crawl_symbol_chain
+-void tc_crawl_symbol_chain PARAMS ((object_headers * headers));
+-#endif /* tc_crawl_symbol_chain */
+-
+-#ifndef tc_headers_hook
+-void tc_headers_hook PARAMS ((object_headers * headers));
+-#endif /* tc_headers_hook */
+ #endif /* BFD_ASSEMBLER */
+
+ #ifndef md_section_align
+@@ -108,3 +101,5 @@
+ #endif
+
+ /* end of tc.h */
++
++#endif /* _GAS_TC_H */
+--- prc-tools-2.3/binutils/gas/config/obj-coff.h 2003-04-04 09:15:14.000000000 +0100
++++ prc-tools-2.3/binutils/gas/config/obj-coff.h 2006-06-16 22:59:00.000000000 +0100
+@@ -903,4 +903,19 @@
+ #define SET_SECTION_RELOCS(sec, relocs, n) \
+ SA_SET_SCN_NRELOC (section_symbol (sec), n)
+
++#ifdef _GAS_TC_H
++#ifndef md_convert_frag
++#include "config/obj-coff.h"
++void md_convert_frag PARAMS ((object_headers * headers, segT, fragS * fragP));
++#endif
++
++#ifndef tc_crawl_symbol_chain
++void tc_crawl_symbol_chain PARAMS ((object_headers * headers));
++#endif /* tc_crawl_symbol_chain */
++
++#ifndef tc_headers_hook
++void tc_headers_hook PARAMS ((object_headers * headers));
++#endif /* tc_headers_hook */
++#endif
++
+ #endif /* OBJ_FORMAT_H */
+--- prc-tools-2.3/gdb-5.3/include/obstack.h 2006-06-16 23:12:30.000000000 +0100
++++ prc-tools-2.3/gdb/include/obstack.h 2005-05-10 11:21:08.000000000 +0100
+@@ -1,6 +1,6 @@
+ /* obstack.h - object stack macros
+ Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998,
+- 1999, 2000
++ 1999, 2000, 2001, 2002, 2003, 2004, 2005
+ Free Software Foundation, Inc.
+
+
+@@ -19,7 +19,7 @@
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
++ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301,
+ USA. */
+
+ /* Summary:
+@@ -145,11 +145,7 @@
+
+ #if defined _LIBC || defined HAVE_STRING_H
+ # include <string.h>
+-# if defined __STDC__ && __STDC__
+-# define _obstack_memcpy(To, From, N) memcpy ((To), (From), (N))
+-# else
+-# define _obstack_memcpy(To, From, N) memcpy ((To), (char *)(From), (N))
+-# endif
++# define _obstack_memcpy(To, From, N) memcpy ((To), (From), (N))
+ #else
+ # ifdef memcpy
+ # define _obstack_memcpy(To, From, N) memcpy ((To), (char *)(From), (N))
+@@ -174,18 +170,12 @@
+ char *chunk_limit; /* address of char after current chunk */
+ PTR_INT_TYPE temp; /* Temporary for some macros. */
+ int alignment_mask; /* Mask of alignment for each object. */
+-#if defined __STDC__ && __STDC__
+ /* These prototypes vary based on `use_extra_arg', and we use
+ casts to the prototypeless function type in all assignments,
+ but having prototypes here quiets -Wstrict-prototypes. */
+ struct _obstack_chunk *(*chunkfun) (void *, long);
+ void (*freefun) (void *, struct _obstack_chunk *);
+ void *extra_arg; /* first arg for chunk alloc/dealloc funcs */
+-#else
+- struct _obstack_chunk *(*chunkfun) (); /* User's fcn to allocate a chunk. */
+- void (*freefun) (); /* User's function to free a chunk. */
+- char *extra_arg; /* first arg for chunk alloc/dealloc funcs */
+-#endif
+ unsigned use_extra_arg:1; /* chunk alloc/dealloc funcs take extra arg */
+ unsigned maybe_empty_object:1;/* There is a possibility that the current
+ chunk contains a zero-length object. This
+@@ -198,7 +188,6 @@
+
+ /* Declare the external functions we use; they are in obstack.c. */
+
+-#if defined __STDC__ && __STDC__
+ extern void _obstack_newchunk (struct obstack *, int);
+ extern void _obstack_free (struct obstack *, void *);
+ extern int _obstack_begin (struct obstack *, int, int,
+@@ -207,16 +196,7 @@
+ void *(*) (void *, long),
+ void (*) (void *, void *), void *);
+ extern int _obstack_memory_used (struct obstack *);
+-#else
+-extern void _obstack_newchunk ();
+-extern void _obstack_free ();
+-extern int _obstack_begin ();
+-extern int _obstack_begin_1 ();
+-extern int _obstack_memory_used ();
+-#endif
+
+-#if defined __STDC__ && __STDC__
+-
+ /* Do the function-declarations after the structs
+ but before defining the macros. */
+
+@@ -255,19 +235,10 @@
+ int obstack_chunk_size (struct obstack *obstack);
+ int obstack_memory_used (struct obstack *obstack);
+
+-#endif /* __STDC__ */
+-
+-/* Non-ANSI C cannot really support alternative functions for these macros,
+- so we do not declare them. */
+-
+ /* Error handler called when `obstack_chunk_alloc' failed to allocate
+ more memory. This can be set to a user defined function. The
+ default action is to print a message and abort. */
+-#if defined __STDC__ && __STDC__
+ extern void (*obstack_alloc_failed_handler) (void);
+-#else
+-extern void (*obstack_alloc_failed_handler) ();
+-#endif
+
+ /* Exit value used when `print_and_abort' is used. */
+ extern int obstack_exit_failure;
+@@ -292,8 +263,6 @@
+
+ /* To prevent prototype warnings provide complete argument list in
+ standard C version. */
+-#if defined __STDC__ && __STDC__
+-
+ # define obstack_init(h) \
+ _obstack_begin ((h), 0, 0, \
+ (void *(*) (long)) obstack_chunk_alloc, (void (*) (void *)) obstack_chunk_free)
+@@ -317,33 +286,7 @@
+ # define obstack_freefun(h, newfreefun) \
+ ((h) -> freefun = (void (*)(void *, struct _obstack_chunk *)) (newfreefun))
+
+-#else
+-
+-# define obstack_init(h) \
+- _obstack_begin ((h), 0, 0, \
+- (void *(*) ()) obstack_chunk_alloc, (void (*) ()) obstack_chunk_free)
+-
+-# define obstack_begin(h, size) \
+- _obstack_begin ((h), (size), 0, \
+- (void *(*) ()) obstack_chunk_alloc, (void (*) ()) obstack_chunk_free)
+-
+-# define obstack_specify_allocation(h, size, alignment, chunkfun, freefun) \
+- _obstack_begin ((h), (size), (alignment), \
+- (void *(*) ()) (chunkfun), (void (*) ()) (freefun))
+-
+-# define obstack_specify_allocation_with_arg(h, size, alignment, chunkfun, freefun, arg) \
+- _obstack_begin_1 ((h), (size), (alignment), \
+- (void *(*) ()) (chunkfun), (void (*) ()) (freefun), (arg))
+-
+-# define obstack_chunkfun(h, newchunkfun) \
+- ((h) -> chunkfun = (struct _obstack_chunk *(*)()) (newchunkfun))
+-
+-# define obstack_freefun(h, newfreefun) \
+- ((h) -> freefun = (void (*)()) (newfreefun))
+-
+-#endif
+-
+-#define obstack_1grow_fast(h,achar) (*((h)->next_free)++ = achar)
++#define obstack_1grow_fast(h,achar) (*((h)->next_free)++ = (achar))
+
+ #define obstack_blank_fast(h,n) ((h)->next_free += (n))
+
+@@ -411,7 +354,7 @@
+ ({ struct obstack *__o = (OBSTACK); \
+ if (__o->next_free + 1 > __o->chunk_limit) \
+ _obstack_newchunk (__o, 1); \
+- *(__o->next_free)++ = (datum); \
++ obstack_1grow_fast (__o, datum); \
+ (void) 0; })
+
+ /* These assume that the obstack alignment is good enough for pointers or ints,
+@@ -423,19 +366,28 @@
+ ({ struct obstack *__o = (OBSTACK); \
+ if (__o->next_free + sizeof (void *) > __o->chunk_limit) \
+ _obstack_newchunk (__o, sizeof (void *)); \
+- *((void **)__o->next_free)++ = ((void *)datum); \
+- (void) 0; })
++ obstack_ptr_grow_fast (__o, datum); })
+
+ # define obstack_int_grow(OBSTACK,datum) \
+ __extension__ \
+ ({ struct obstack *__o = (OBSTACK); \
+ if (__o->next_free + sizeof (int) > __o->chunk_limit) \
+ _obstack_newchunk (__o, sizeof (int)); \
+- *((int *)__o->next_free)++ = ((int)datum); \
++ obstack_int_grow_fast (__o, datum); })
++
++# define obstack_ptr_grow_fast(OBSTACK,aptr) \
++__extension__ \
++({ struct obstack *__o1 = (OBSTACK); \
++ *(const void **) __o1->next_free = (aptr); \
++ __o1->next_free += sizeof (const void *); \
+ (void) 0; })
+
+-# define obstack_ptr_grow_fast(h,aptr) (*((void **) (h)->next_free)++ = (void *)aptr)
+-# define obstack_int_grow_fast(h,aint) (*((int *) (h)->next_free)++ = (int) aint)
++# define obstack_int_grow_fast(OBSTACK,aint) \
++__extension__ \
++({ struct obstack *__o1 = (OBSTACK); \
++ *(int *) __o1->next_free = (aint); \
++ __o1->next_free += sizeof (int); \
++ (void) 0; })
+
+ # define obstack_blank(OBSTACK,length) \
+ __extension__ \
+@@ -443,7 +395,7 @@
+ int __len = (length); \
+ if (__o->chunk_limit - __o->next_free < __len) \
+ _obstack_newchunk (__o, __len); \
+- __o->next_free += __len; \
++ obstack_blank_fast (__o, __len); \
+ (void) 0; })
+
+ # define obstack_alloc(OBSTACK,length) \
+@@ -485,9 +437,9 @@
+ # define obstack_free(OBSTACK, OBJ) \
+ __extension__ \
+ ({ struct obstack *__o = (OBSTACK); \
+- void *__obj = (OBJ); \
++ void *__obj = (void *) (OBJ); \
+ if (__obj > (void *)__o->chunk && __obj < (void *)__o->chunk_limit) \
+- __o->next_free = __o->object_base = __obj; \
++ __o->next_free = __o->object_base = (char *) __obj; \
+ else (obstack_free) (__o, __obj); })
+
+ #else /* not __GNUC__ or not __STDC__ */
+@@ -530,26 +482,29 @@
+ # define obstack_1grow(h,datum) \
+ ( (((h)->next_free + 1 > (h)->chunk_limit) \
+ ? (_obstack_newchunk ((h), 1), 0) : 0), \
+- (*((h)->next_free)++ = (datum)))
++ obstack_1grow_fast (h, datum))
+
+ # define obstack_ptr_grow(h,datum) \
+ ( (((h)->next_free + sizeof (char *) > (h)->chunk_limit) \
+ ? (_obstack_newchunk ((h), sizeof (char *)), 0) : 0), \
+- (*((char **) (((h)->next_free+=sizeof(char *))-sizeof(char *))) = ((char *) datum)))
++ obstack_ptr_grow_fast (h, datum))
+
+ # define obstack_int_grow(h,datum) \
+ ( (((h)->next_free + sizeof (int) > (h)->chunk_limit) \
+ ? (_obstack_newchunk ((h), sizeof (int)), 0) : 0), \
+- (*((int *) (((h)->next_free+=sizeof(int))-sizeof(int))) = ((int) datum)))
++ obstack_int_grow_fast (h, datum))
++
++# define obstack_ptr_grow_fast(h,aptr) \
++ (((const void **) ((h)->next_free += sizeof (void *)))[-1] = (aptr))
+
+-# define obstack_ptr_grow_fast(h,aptr) (*((char **) (h)->next_free)++ = (char *) aptr)
+-# define obstack_int_grow_fast(h,aint) (*((int *) (h)->next_free)++ = (int) aint)
++# define obstack_int_grow_fast(h,aint) \
++ (((int *) ((h)->next_free += sizeof (int)))[-1] = (aptr))
+
+ # define obstack_blank(h,length) \
+ ( (h)->temp = (length), \
+ (((h)->chunk_limit - (h)->next_free < (h)->temp) \
+ ? (_obstack_newchunk ((h), (h)->temp), 0) : 0), \
+- ((h)->next_free += (h)->temp))
++ obstack_blank_fast (h, (h)->temp))
+
+ # define obstack_alloc(h,length) \
+ (obstack_blank ((h), (length)), obstack_finish ((h)))
+@@ -574,21 +529,12 @@
+ (h)->object_base = (h)->next_free, \
+ __INT_TO_PTR ((h)->temp))
+
+-# if defined __STDC__ && __STDC__
+-# define obstack_free(h,obj) \
++# define obstack_free(h,obj) \
+ ( (h)->temp = (char *) (obj) - (char *) (h)->chunk, \
+ (((h)->temp > 0 && (h)->temp < (h)->chunk_limit - (char *) (h)->chunk)\
+ ? (int) ((h)->next_free = (h)->object_base \
+ = (h)->temp + (char *) (h)->chunk) \
+ : (((obstack_free) ((h), (h)->temp + (char *) (h)->chunk), 0), 0)))
+-# else
+-# define obstack_free(h,obj) \
+-( (h)->temp = (char *) (obj) - (char *) (h)->chunk, \
+- (((h)->temp > 0 && (h)->temp < (h)->chunk_limit - (char *) (h)->chunk)\
+- ? (int) ((h)->next_free = (h)->object_base \
+- = (h)->temp + (char *) (h)->chunk) \
+- : (_obstack_free ((h), (h)->temp + (char *) (h)->chunk), 0)))
+-# endif
+
+ #endif /* not __GNUC__ or not __STDC__ */
+
+--- prc-tools-2.3/gdb/gdb/remote-palmos.c~ 2006-06-16 23:22:00.000000000 +0100
++++ prc-tools-2.3/gdb/gdb/remote-palmos.c 2006-06-16 23:29:32.000000000 +0100
+@@ -127,8 +127,6 @@
+ other form of hairy serial connection, I would think 2 seconds would
+ be plenty. */
+
+-static int remote_timeout = 2;
+-
+ static CORE_ADDR text_addr=0, data_addr=0, bss_addr=0, __text___addr=0;
+ static int ncodesects=0;
+ static CORE_ADDR save_ssp, save_usp;