Pedro Alves wrote: > I see. What about this? (Attached) > > 2006-11-16 Pedro Alves > > * coffread.c (cs_to_bfd_section): New function. > (coff_symtab_read): Use cs_to_bfd_section. > > cs_to_section could be then converted to bfd_section_to_section. Humm, not complete. This should be: 2006-11-16 Pedro Alves * symtab.h (prim_record_minimal_symbol_and_bfd_section): Declare. * minsyms.c (prim_record_minimal_symbol_and_bfd_section): Rename from prim_record_minimal_symbol and add bfd_section parameter. (prim_record_minimal_symbol): New version; wraps prim_record_minimal_symbol_and_bfd_section. * coffread.c (cs_to_bfd_section): New function. (coff_symtab_read): Use cs_to_bfd_section. Cheers, Pedro Alves