2004-01-05 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Tue, 6 Jan 2004 00:58:48 +0000 (00:58 +0000)
committerMichael Snyder <msnyder@vmware.com>
Tue, 6 Jan 2004 00:58:48 +0000 (00:58 +0000)
        * compile.c (sim_load): Don't pass a type to bfd_openr.

sim/h8300/ChangeLog
sim/h8300/compile.c

index 5d66c95ea85d47793889409512fd8522e47806a0..9938196d7b66157ed99ed04c406d4f509db8d397 100644 (file)
@@ -1,3 +1,7 @@
+2004-01-05  Michael Snyder  <msnyder@redhat.com>
+
+       * compile.c (sim_load): Don't pass a type to bfd_openr.
+
 2003-12-16  Michael Snyder  <msnyder@redhat.com>
 
        Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com>
index 462240ce1453591ca41b5c1690189fdcb1483969..ec5f974c7b38546e6ad850d2a828b7909886153f 100644 (file)
@@ -5052,7 +5052,7 @@ sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty)
   if (abfd != NULL)
     prog_bfd = abfd;
   else
-    prog_bfd = bfd_openr (prog, "coff-h8300");
+    prog_bfd = bfd_openr (prog, NULL);
   if (prog_bfd != NULL)
     {
       /* Set the cpu type.  We ignore failure from bfd_check_format