public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
To: Alan Modra <amodra@bigpond.net.au>
Cc: Dave Korn <dave.korn@artimi.com>,
	"'Andy Chittenden'" <AChittenden@bluearc.com>,
	"'Pieter Arnout'" <pieter@powerescape.com>,
	binutils@sources.redhat.com
Subject: [PATCH] PR 813 (was Re: objdump --syms -j .text )
Date: Mon, 04 Apr 2005 10:06:00 -0000	[thread overview]
Message-ID: <42511144.5070309@codito.com> (raw)
In-Reply-To: <20050404005043.GF7121@bubble.modra.org>

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

> 
> 
> Even better would be filing a *patch*.  :)
> 

Tested with i386-linux native . No extra failures. Ok to 
commit ?

cheers
Ramana


-- 
Ramana Radhakrishnan
GNU Tools
codito ergo sum (www.codito.com)


[-- Attachment #2: objdump-prfsf-813-patch --]
[-- Type: text/plain, Size: 1415 bytes --]

Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/binutils/ChangeLog,v
retrieving revision 1.902
diff -c -3 -p -r1.902 ChangeLog
*** ChangeLog	1 Apr 2005 15:09:43 -0000	1.902
--- ChangeLog	4 Apr 2005 10:04:02 -0000
***************
*** 1,3 ****
--- 1,9 ----
+ 2005-04-04  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>
+ 
+ 	PR binutils/813
+ 	* objdump.c(dump_symbols):Add a check if the section for the symbol
+ 	is chosen using process_section_p.
+ 
  2005-04-01  H.J. Lu  <hongjiu.lu@intel.com>
  
  	* NEWS: Mention new readelf options, "-N/--full-section-name"
Index: objdump.c
===================================================================
RCS file: /cvs/src/src/binutils/objdump.c,v
retrieving revision 1.103
diff -c -3 -p -r1.103 objdump.c
*** objdump.c	28 Mar 2005 12:28:17 -0000	1.103
--- objdump.c	4 Apr 2005 10:04:09 -0000
*************** dump_symbols (bfd *abfd ATTRIBUTE_UNUSED
*** 2365,2372 ****
  	      free (alloc);
  	    }
  	  else
! 	    bfd_print_symbol (cur_bfd, stdout, *current,
! 			      bfd_print_symbol_all);
  	  printf ("\n");
  	}
        current++;
--- 2365,2375 ----
  	      free (alloc);
  	    }
  	  else
! 	    {
! 		  if(process_section_p((*current)->section))
! 		    bfd_print_symbol (cur_bfd, stdout, *current,
! 				      bfd_print_symbol_all);
! 	    }
  	  printf ("\n");
  	}
        current++;

  parent reply	other threads:[~2005-04-04 10:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-01  9:23 objdump --syms -j .text Andy Chittenden
2005-04-01  9:59 ` Dave Korn
2005-04-04  0:50   ` Alan Modra
2005-04-04  9:07     ` Dave Korn
2005-04-04 10:06     ` Ramana Radhakrishnan [this message]
2005-04-04 10:35       ` [PATCH] PR 813 (was Re: objdump --syms -j .text ) Nick Clifton
2005-04-04 10:40         ` Ramana Radhakrishnan
2005-04-04 13:24         ` Daniel Jacobowitz
2005-04-04 14:45           ` 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=42511144.5070309@codito.com \
    --to=ramana.radhakrishnan@codito.com \
    --cc=AChittenden@bluearc.com \
    --cc=amodra@bigpond.net.au \
    --cc=binutils@sources.redhat.com \
    --cc=dave.korn@artimi.com \
    --cc=pieter@powerescape.com \
    /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).