]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* Clean up xcoff relocation.
authorJim Kingdon <jkingdon@engr.sgi.com>
Fri, 26 Mar 1993 14:59:43 +0000 (14:59 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Fri, 26 Mar 1993 14:59:43 +0000 (14:59 +0000)
commit3c02636b4ef8b4526865bf3a9baeba2011ff0d08
tree5424aa520ee09da58c7601202b89865e7fa903c4
parent786f2f340287e170737a96aea29b5d45d5d28957
* Clean up xcoff relocation.
objfiles.h (struct objfiles): Add section_offsets, num_sections.
symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets):
Set them.
symtab.h (struct general_symbol_info): Add section field.
minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it.
xcoffread.c: Set section for symbols and msymbols.
(struct symtab): Add block_line_section field.
buildsym.c (end_symtab): Set it.
(end_symtab and callers): Add section parameter.
objfiles.c (objfile_relocate): New funciton.
xcoffexec.c (vmap_symtab): Use it.
xcoffsolib.h (struct vmap): Remove unused fields.
config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove
CORE_NEEDS_RELOCATION, symtab_relocated.
config/rs6000/tm-rs6000.h: Remove use of loadinfotext.
rs6000-tdep.c: Make loadinfotext static.
breakpoint.c (fixup_breakpoints): Doc fix.
symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c
(end_symtab): primary field replaces nonreloc.
12 files changed:
gdb/ChangeLog
gdb/buildsym.c
gdb/buildsym.h
gdb/dwarfread.c
gdb/elfread.c
gdb/minsyms.c
gdb/objfiles.c
gdb/objfiles.h
gdb/rs6000-tdep.c
gdb/xcoffexec.c
gdb/xcoffread.c
gdb/xcoffsolib.h