else if (objfile) {   CORE_ADDR addr; struct obj_section *s;  addr = ginfo->value.address;  ALL_OBJFILE_OSECTIONS (objfile, s) { int idx = s->the_bfd_section->index; CORE_ADDR offset = ANOFFSET (objfile->section_offsets, idx);  if (s->addr - offset <= addr && addr < s->endaddr - offset) { ginfo->bfd_section = s->the_bfd_section; ginfo->section = idx; return; } } }
fixup_section (struct general_symbol_info *ginfo, struct objfile *objfile){  struct minimal_symbol *msym;  msym = lookup_minimal_symbol (ginfo->name, NULL, objfile);  if (msym)    {      ginfo->bfd_section = SYMBOL_BFD_SECTION (msym);      ginfo->section = SYMBOL_SECTION (msym);    }}