2004-10-31 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Sun, 31 Oct 2004 17:48:17 +0000 (17:48 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 31 Oct 2004 17:48:17 +0000 (17:48 +0000)
* mdebugread.h (ecoff_relocate_efi): Delete declaration.
* mdebugread.c (ecoff_relocate_efi): Delete function.
* objfiles.c (objfile_relocate): Delete #ifdef
MDEBUG_EFI_SYMBOL_NAME code.

gdb/ChangeLog
gdb/mdebugread.c
gdb/mdebugread.h
gdb/objfiles.c

index e50e86d5a8ebad25ee71a186504d324d0b98bc1f..0ec270a395bb1cbf3ade36c4e9c4ccb9ea5941de 100644 (file)
@@ -1,3 +1,10 @@
+2004-10-31  Andrew Cagney  <cagney@gnu.org>
+
+       * mdebugread.h (ecoff_relocate_efi): Delete declaration.
+       * mdebugread.c (ecoff_relocate_efi): Delete function.
+       * objfiles.c (objfile_relocate): Delete #ifdef
+       MDEBUG_EFI_SYMBOL_NAME code.
+
 2004-10-31  Orjan Friberg <organ.friberg@axis.com>
            Andrew Cagney  <cagney@gnu.org>
 
index ba9c064638ecf1c4491479683fa23dca9cafd2af..2c1a616a8a8a896a015bcdc92edd66ac88304257 100644 (file)
@@ -2005,18 +2005,6 @@ parse_procedure (PDR *pr, struct symtab *search_symtab,
     SYMBOL_TYPE (s) = nodebug_func_symbol_type;
 }
 
-/* Relocate the extra function info pointed to by the symbol table.  */
-
-void
-ecoff_relocate_efi (struct symbol *sym, CORE_ADDR delta)
-{
-  struct mdebug_extra_func_info *e;
-
-  e = (struct mdebug_extra_func_info *) SYMBOL_VALUE (sym);
-
-  e->pdr.adr += delta;
-}
-
 /* Parse the external symbol ES. Just call parse_symbol() after
    making sure we know where the aux are for it.
    BIGEND says whether aux entries are big-endian or little-endian.
index 25b7beef13ee90729745b1831a196ccf8953a7fe..6046f7e62c4589fa094176e774ad6b36a73e9d71 100644 (file)
@@ -25,8 +25,6 @@
 #include "coff/sym.h"          /* Needed for PDR below.  */
 #include "coff/symconst.h"
 
-extern void ecoff_relocate_efi (struct symbol *, CORE_ADDR);
-
 /* Specific information about a procedure.  Architectures (ab)uses
    this to save memory.  */
 
index 9528d580d8a02e68c3bdae6ad569f204ce3c14af..dce6156fc2ccaa4cc2fb7dc99abed7e1973ef94b 100644 (file)
@@ -555,16 +555,6 @@ objfile_relocate (struct objfile *objfile, struct section_offsets *new_offsets)
                  SYMBOL_VALUE_ADDRESS (sym) +=
                    ANOFFSET (delta, SYMBOL_SECTION (sym));
                }
-#ifdef MDEBUG_EFI_SYMBOL_NAME
-             /* Relocate Extra Function Info for ecoff.  */
-
-             else if (SYMBOL_CLASS (sym) == LOC_CONST
-                      && SYMBOL_DOMAIN (sym) == LABEL_DOMAIN
-                      && strcmp (DEPRECATED_SYMBOL_NAME (sym),
-                                 MDEBUG_EFI_SYMBOL_NAME) == 0)
-               ecoff_relocate_efi (sym, ANOFFSET (delta,
-                                                  s->block_line_section));
-#endif
            }
        }
     }
This page took 0.034819 seconds and 4 git commands to generate.