From 3c02636b4ef8b4526865bf3a9baeba2011ff0d08 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 26 Mar 1993 14:59:43 +0000 Subject: * 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. --- gdb/xcoffsolib.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gdb/xcoffsolib.h') diff --git a/gdb/xcoffsolib.h b/gdb/xcoffsolib.h index 8b6e8f2..5be3533 100644 --- a/gdb/xcoffsolib.h +++ b/gdb/xcoffsolib.h @@ -40,10 +40,8 @@ struct vmap { /* This is NULL for the exec-file. */ struct objfile *objfile; - CORE_ADDR ostart; /* objext start ??? */ unsigned loaded:1; /* True if symbols are loaded */ - unsigned reloced:1; /* True, if symbols relocated */ - unsigned padding:14; + unsigned padding:15; }; -- cgit v1.1