This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] PR 813 (was Re: objdump --syms -j .text )




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)

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++;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]