import gdb-1999-06-14 snapshot
[deliverable/binutils-gdb.git] / gdb / elfread.c
index 95e905fd05283e2315562b4654327e771502808b..9c13b00bf4859cfbee99b6f2b3beb29a8563c37f 100644 (file)
@@ -1,5 +1,5 @@
 /* Read ELF (Executable and Linking Format) object files for GDB.
-   Copyright 1991, 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
+   Copyright 1991, 92, 93, 94, 95, 96, 1998 Free Software Foundation, Inc.
    Written by Fred Fish at Cygnus Support.
 
 This file is part of GDB.
@@ -32,6 +32,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #include "complaints.h"
 #include "demangle.h"
 
+extern void _initialize_elfread PARAMS ((void));
+
 /* The struct elfinfo is available only during ELF symbol table and
    psymtab reading.  It is destroyed at the complation of psymtab-reading.
    It's local to elf_symfile_read.  */
@@ -538,8 +540,8 @@ elf_symtab_read (abfd, addr, objfile, dynamic)
              if (msym != NULL)
                msym->filename = filesymname;
 #endif
-#ifdef MAKE_MSYMBOL_SPECIAL
-             MAKE_MSYMBOL_SPECIAL (sym,msym);
+#ifdef ELF_MAKE_MSYMBOL_SPECIAL
+             ELF_MAKE_MSYMBOL_SPECIAL(sym,msym);
 #endif
            }
        }
@@ -591,7 +593,7 @@ elf_symfile_read (objfile, section_offsets, mainline)
   CORE_ADDR offset;
 
   init_minimal_symbol_collection ();
-  back_to = make_cleanup (discard_minimal_symbols, 0);
+  back_to = make_cleanup ((make_cleanup_func) discard_minimal_symbols, 0);
 
   memset ((char *) &ei, 0, sizeof (ei));
 
This page took 0.023774 seconds and 4 git commands to generate.