73d0fc7820
* objfiles.c (add_to_objfile_sections, build_objfile_section_table, find_pc_section): new functions. (allocate_objfile): build section table. * objfiles.h (struct obj_section): new structure. (struct objfile): add section table. (find_pc_section): new prototype. * solib.[ch] (find_pc_section_from_so_list): removed. * sparc-tdep.c: include objfiles.h for find_pc_section. include symfile.h for objfiles.h. (in_solib_trampoline): adjusted for new find_pc_section prototype. Removed BAD_RICH_HACK ifdefs. * symfile.c (syms_from_objfile): offset objfile sections. (find_pc_section): removed. Also removed BAD_RICH_HACK ifdefs. * symfile.h (find_pc_section): prototype removed. Also fixed comment typo NUL -> NULL. * target.[ch] (find_pc_section_from_targets): removed. * config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed. |
||
---|---|---|
.. | ||
.Sanitize | ||
nm-sun4os4.h | ||
sparc-em.mt | ||
sparclite.mt | ||
sun4os4.mh | ||
sun4os4.mt | ||
sun4sol2.mh | ||
sun4sol2.mt | ||
tm-sparc.h | ||
tm-sparclite.h | ||
tm-spc-em.h | ||
tm-sun4os4.h | ||
tm-sun4sol2.h | ||
xm-sparc.h | ||
xm-sun4os4.h | ||
xm-sun4sol2.h |