* ppc-tdep.h (PPC_INSN_SIZE): Define.
[deliverable/binutils-gdb.git] / gdb / objfiles.c
index 69f61d48688ab48d15b10e636f3375094a9fbec4..7fa2e8922c47c99a45063a80c94496a0334b74aa 100644 (file)
@@ -33,7 +33,7 @@
 #include "gdb-stabs.h"
 #include "target.h"
 #include "bcache.h"
-
+#include "mdebugread.h"
 #include "gdb_assert.h"
 #include <sys/types.h>
 #include "gdb_stat.h"
@@ -184,20 +184,20 @@ allocate_objfile (bfd *abfd, int flags)
     }
   if (abfd != NULL)
     {
-      objfile->name = mstrsave (objfile->md, bfd_get_filename (abfd));
+      objfile->name = xstrdup (bfd_get_filename (abfd));
       objfile->mtime = bfd_get_mtime (abfd);
 
       /* Build section table.  */
 
       if (build_objfile_section_table (objfile))
        {
-         error ("Can't find the file sections in `%s': %s",
+         error (_("Can't find the file sections in `%s': %s"),
                 objfile->name, bfd_errmsg (bfd_get_error ()));
        }
     }
   else
     {
-      objfile->name = mstrsave (objfile->md, "<<anonymous objfile>>");
+      objfile->name = xstrdup ("<<anonymous objfile>>");
     }
 
   /* Initialize the section indexes for this objfile, so that we can
@@ -305,7 +305,7 @@ put_objfile_before (struct objfile *objfile, struct objfile *before_this)
     }
   
   internal_error (__FILE__, __LINE__,
-                 "put_objfile_before: before objfile not in list");
+                 _("put_objfile_before: before objfile not in list"));
 }
 
 /* Put OBJFILE at the front of the list.  */
@@ -357,7 +357,7 @@ unlink_objfile (struct objfile *objfile)
     }
 
   internal_error (__FILE__, __LINE__,
-                 "unlink_objfile: objfile already unlinked");
+                 _("unlink_objfile: objfile already unlinked"));
 }
 
 
@@ -410,7 +410,7 @@ free_objfile (struct objfile *objfile)
     {
       char *name = bfd_get_filename (objfile->obfd);
       if (!bfd_close (objfile->obfd))
-       warning ("cannot close \"%s\": %s",
+       warning (_("cannot close \"%s\": %s"),
                 name, bfd_errmsg (bfd_get_error ()));
       xfree (name);
     }
@@ -555,15 +555,6 @@ objfile_relocate (struct objfile *objfile, struct section_offsets *new_offsets)
                  SYMBOL_VALUE_ADDRESS (sym) +=
                    ANOFFSET (delta, SYMBOL_SECTION (sym));
                }
-#ifdef MIPS_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), MIPS_EFI_SYMBOL_NAME) == 0)
-               ecoff_relocate_efi (sym, ANOFFSET (delta,
-                                                  s->block_line_section));
-#endif
            }
        }
     }
This page took 0.04636 seconds and 4 git commands to generate.