public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Hans-Peter Nilsson <hans-peter.nilsson@axis.com>
To: binutils@sourceware.org
Subject: Fix for reported cris-axis-elf breakage
Date: Wed, 23 Mar 2005 02:05:00 -0000	[thread overview]
Message-ID: <200503222022.j2MKMHU6001754@ignucius.se.axis.com> (raw)

I wonder why this wasn't seen when <name withheld> was testing
the patch...  Please commit, I don't have my keys here.

2005-03-22  Hans-Peter Nilsson  <hp@axis.com>

	* hash.c (strtab_hash_newfunc): Fix typo in allocated size.


Index: hash.c
===================================================================
RCS file: /cvs/src/src/bfd/hash.c,v
retrieving revision 1.15
diff -c -p -u -p -r1.15 hash.c
cvs diff: conflicting specifications of output style
--- hash.c	22 Mar 2005 16:14:41 -0000	1.15
+++ hash.c	22 Mar 2005 20:19:30 -0000
@@ -555,7 +555,7 @@ strtab_hash_newfunc (struct bfd_hash_ent
   /* Allocate the structure if it has not already been allocated by a
      subclass.  */
   if (ret == NULL)
-    ret = bfd_hash_allocate (table, sizeof (* entry));
+    ret = bfd_hash_allocate (table, sizeof (* ret));
   if (ret == NULL)
     return NULL;
 
brgds, H-P

             reply	other threads:[~2005-03-22 20:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-23  2:05 Hans-Peter Nilsson [this message]
2005-03-23  4:35 ` Hans-Peter Nilsson
2005-03-23 16:07   ` Nick Clifton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200503222022.j2MKMHU6001754@ignucius.se.axis.com \
    --to=hans-peter.nilsson@axis.com \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).