patches/binutils/2.16.1/150-stabs-tweak.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri May 02 22:02:42 2008 +0000 (2008-05-02)
changeset 480 1c38fee4a96a
permissions -rw-r--r--
Update those samples to latest config options.

/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 115 76 39 0 +++++++++++++------
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 114 73 41 0 +++++++++++++------
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 116 74 42 0 ++++++++++++-------
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 141 98 43 0 ++++++++++++++++-------
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 120 76 44 0 +++++++++++++-------
5 files changed, 397 insertions(+), 209 deletions(-)
     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 --- binutils/bfd/stabs.c.old	4 May 2005 15:53:39 -0000	1.24
    16 +++ binutils/bfd/stabs.c	29 Dec 2005 10:29:23 -0000	1.25
    17 @@ -194,9 +194,8 @@
    18  	goto error_return;
    19        /* Make sure the first byte is zero.  */
    20        (void) _bfd_stringtab_add (sinfo->strings, "", TRUE, TRUE);
    21 -      if (! bfd_hash_table_init_n (&sinfo->includes,
    22 -				   stab_link_includes_newfunc,
    23 -				   251))
    24 +      if (! bfd_hash_table_init (&sinfo->includes,
    25 +				 stab_link_includes_newfunc))
    26  	goto error_return;
    27        sinfo->stabstr = bfd_make_section_anyway (abfd, ".stabstr");
    28        if (sinfo->stabstr == NULL)