patches/binutils/2.15/800-ld-2.15-stabs-tweak.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 24 16:24:09 2008 +0000 (2008-06-24)
changeset 611 eac4dc8da8a9
permissions -rw-r--r--
New patches from Ioannis E. VENETIS to allow building more up-to-date Alpha x-compilers.
Some patches are still missing, though.
See: http://sourceware.org/ml/libc-help/2008-06/msg00061.html

/trunk/patches/glibc/2.5.1/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5.1/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/2.5/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/linuxthreads-2.3.6/270-glibc-linuxthreads-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/gcc/4.2.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.2/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.3/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
11 files changed, 225 insertions(+)
     1 Signed-off-by: dank@kegel.com
     2 
     3 See http://sourceware.org/ml/binutils/2005-12/msg00270.html
     4 http://sourceware.org/ml/binutils-cvs/2005-12/msg00139.html
     5 
     6 STABS hash table size change, backported from the binutils CVS tree.  Here's
     7 the CVS log comment for the original change:
     8 
     9 revision 1.25
    10 date: 2005/12/29 10:29:23;  author: nickc;  state: Exp;  lines: +2 -3
    11 (_bfd_link_section_stabs): Use bfd_hash_table_init rather than
    12 bfd_hash_table_init_n(...,251) so that the size of the hash table can be
    13 controlled by the user.
    14 
    15 Note that tunable hash table size changes were added after 2.15.  The effect
    16 of this change is to make bfd use its default hash table size for the stabs
    17 hash as well.
    18 
    19 
    20 --- binutils-2.15/bfd/stabs.c.old	2004-05-17 15:36:04.000000000 -0400
    21 +++ binutils-2.15/bfd/stabs.c	2006-02-09 15:21:56.567014000 -0500
    22 @@ -241,9 +241,8 @@
    23  	goto error_return;
    24        /* Make sure the first byte is zero.  */
    25        (void) _bfd_stringtab_add (sinfo->strings, "", TRUE, TRUE);
    26 -      if (! bfd_hash_table_init_n (&sinfo->includes.root,
    27 -				   stab_link_includes_newfunc,
    28 -				   251))
    29 +      if (! bfd_hash_table_init (&sinfo->includes.root,
    30 +				   stab_link_includes_newfunc))
    31  	goto error_return;
    32        sinfo->stabstr = bfd_make_section_anyway (abfd, ".stabstr");
    33        sinfo->stabstr->flags |= SEC_HAS_CONTENTS | SEC_READONLY | SEC_DEBUGGING;