Introduce the notion of a 'sample comment'.
- presence of the sample's reported.by file is now mandatory.
- when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file.
- when saving a sample, one can store a few-liner comment.
- when recalling a sample, the reporter name, URL and comment (if present) are printed.
- update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail).
- update all samples that were missing the reported.by file.
/trunk/scripts/saveSample.sh | 46 35 11 0 ++++++++++++++++++------
/trunk/scripts/showSamples.sh | 12 6 6 0 +++---
/trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by | 15 15 0 0 ++++++++
/trunk/samples/samples.mk | 22 17 5 0 +++++++++--
4 files changed, 73 insertions(+), 22 deletions(-)
1 Signed-off-by: dank@kegel.com
3 See http://sourceware.org/ml/binutils/2005-12/msg00270.html
4 http://sourceware.org/ml/binutils-cvs/2005-12/msg00139.html
6 STABS hash table size change, backported from the binutils CVS tree. Here's
7 the CVS log comment for the original change:
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.
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
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,
24 + if (! bfd_hash_table_init (&sinfo->includes,
25 + stab_link_includes_newfunc))
27 sinfo->stabstr = bfd_make_section_anyway (abfd, ".stabstr");
28 if (sinfo->stabstr == NULL)