public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [patch] aout_get_external_symbols, count == zero
@ 2007-07-27 20:16 msnyder
  0 siblings, 0 replies; 4+ messages in thread
From: msnyder @ 2007-07-27 20:16 UTC (permalink / raw)
  To: binutils

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

Thought I sent this, but it hasn't shown up?


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

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

	* aoutx.h (slurp_symbol_table): Return if count == 0.

Index: aoutx.h
===================================================================
RCS file: /cvs/src/src/bfd/aoutx.h,v
retrieving revision 1.67
diff -p -r1.67 aoutx.h
*** aoutx.h	26 Jul 2007 18:30:28 -0000	1.67
--- aoutx.h	27 Jul 2007 02:05:08 -0000
*************** NAME (aout, slurp_symbol_table) (bfd *ab
*** 1739,1744 ****
--- 1739,1747 ----
      return FALSE;
  
    cached_size = obj_aout_external_sym_count (abfd);
+   if (cached_size == 0)
+     return TRUE;		/* Nothing to do.  */
+ 
    cached_size *= sizeof (aout_symbol_type);
    cached = bfd_zmalloc (cached_size);
    if (cached == NULL && cached_size != 0)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch] aout_get_external_symbols, count == zero
  2007-08-09 12:14 ` Alan Modra
@ 2007-08-09 22:01   ` msnyder
  0 siblings, 0 replies; 4+ messages in thread
From: msnyder @ 2007-08-09 22:01 UTC (permalink / raw)
  To: msnyder, binutils

> On Wed, Aug 08, 2007 at 03:11:49PM -0700, msnyder@sonic.net wrote:
>> May I bump this one?  Don't remember seeing a response.
>
> You also don't remember applying it.  :-)
>
>> 2007-07-26  Michael Snyder  <msnyder@access-company.com>
>>
>> 	* aoutx.h (slurp_symbol_table): Return if count == 0.

Umm, wrong one.  Sorry...


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch] aout_get_external_symbols, count == zero
  2007-08-08 22:11 msnyder
@ 2007-08-09 12:14 ` Alan Modra
  2007-08-09 22:01   ` msnyder
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Modra @ 2007-08-09 12:14 UTC (permalink / raw)
  To: msnyder; +Cc: binutils

On Wed, Aug 08, 2007 at 03:11:49PM -0700, msnyder@sonic.net wrote:
> May I bump this one?  Don't remember seeing a response.

You also don't remember applying it.  :-)

> 2007-07-26  Michael Snyder  <msnyder@access-company.com>
> 
> 	* aoutx.h (slurp_symbol_table): Return if count == 0.

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch] aout_get_external_symbols, count == zero
@ 2007-08-08 22:11 msnyder
  2007-08-09 12:14 ` Alan Modra
  0 siblings, 1 reply; 4+ messages in thread
From: msnyder @ 2007-08-08 22:11 UTC (permalink / raw)
  To: binutils

May I bump this one?  Don't remember seeing a response.

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

	* aoutx.h (slurp_symbol_table): Return if count == 0.

Index: aoutx.h
===================================================================
RCS file: /cvs/src/src/bfd/aoutx.h,v
retrieving revision 1.67
diff -p -r1.67 aoutx.h
*** aoutx.h	26 Jul 2007 18:30:28 -0000	1.67
--- aoutx.h	27 Jul 2007 02:05:08 -0000
*************** NAME (aout, slurp_symbol_table) (bfd *ab
*** 1739,1744 ****
--- 1739,1747 ----
      return FALSE;

    cached_size = obj_aout_external_sym_count (abfd);
+   if (cached_size == 0)
+     return TRUE;		/* Nothing to do.  */
+
    cached_size *= sizeof (aout_symbol_type);
    cached = bfd_zmalloc (cached_size);
    if (cached == NULL && cached_size != 0)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-09 22:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-27 20:16 [patch] aout_get_external_symbols, count == zero msnyder
2007-08-08 22:11 msnyder
2007-08-09 12:14 ` Alan Modra
2007-08-09 22:01   ` msnyder

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).