2004-01-05 Michael Snyder <msnyder@redhat.com>

* compile.c (sim_load):	Don't pass a type to bfd_openr.
This commit is contained in:
Michael Snyder 2004-01-06 00:58:48 +00:00
parent c06c4df5f8
commit 3d29fdb489
2 changed files with 5 additions and 1 deletions

View 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>

View 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