aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-31 17:48:17 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-31 17:48:17 +0000
commitbd9ca83f2c8f1d7a9db5e5645fb5e8f10966948f (patch)
tree3eb99f52b8ae99a49d00485e572c7cbcf8db55e5
parent3352ef37c28505dc3b970e81705977955830eb83 (diff)
downloadgdb-bd9ca83f2c8f1d7a9db5e5645fb5e8f10966948f.zip
gdb-bd9ca83f2c8f1d7a9db5e5645fb5e8f10966948f.tar.gz
gdb-bd9ca83f2c8f1d7a9db5e5645fb5e8f10966948f.tar.bz2
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.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/mdebugread.c12
-rw-r--r--gdb/mdebugread.h2
-rw-r--r--gdb/objfiles.c10
4 files changed, 7 insertions, 24 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e50e86d..0ec270a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index ba9c064..2c1a616 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -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.
diff --git a/gdb/mdebugread.h b/gdb/mdebugread.h
index 25b7bee..6046f7e 100644
--- a/gdb/mdebugread.h
+++ b/gdb/mdebugread.h
@@ -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. */
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 9528d58..dce6156 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -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
}
}
}