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