public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: msnyder@sonic.net
To: binutils@sourceware.org
Subject: [PATCH] aout_link_add_symbols, count == zero
Date: Fri, 27 Jul 2007 22:04:00 -0000	[thread overview]
Message-ID: <20589.12.7.175.2.1185573677.squirrel@webmail.sonic.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: aoutx3.txt --]
[-- Type: text/plain, Size: 771 bytes --]

2007-07-27  Michael Snyder  <msnyder@access-company.com>

	* aoutx.h (aout_link_add_symbols): Return if count is zero.

Index: aoutx.h
===================================================================
RCS file: /cvs/src/src/bfd/aoutx.h,v
retrieving revision 1.68
diff -p -r1.68 aoutx.h
*** aoutx.h	27 Jul 2007 19:04:39 -0000	1.68
--- aoutx.h	27 Jul 2007 21:59:03 -0000
*************** aout_link_add_symbols (bfd *abfd, struct
*** 2951,2956 ****
--- 2951,2959 ----
  	return FALSE;
      }
  
+   if (sym_count == 0)
+     return TRUE;		/* Nothing to do.  */
+ 
    /* We keep a list of the linker hash table entries that correspond
       to particular symbols.  We could just look them up in the hash
       table, but keeping the list is more efficient.  Perhaps this

             reply	other threads:[~2007-07-27 22:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27 22:04 msnyder [this message]
2007-08-01  7:14 ` Alan Modra
2007-08-01 19:59   ` msnyder

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=20589.12.7.175.2.1185573677.squirrel@webmail.sonic.net \
    --to=msnyder@sonic.net \
    --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).