Browse Source

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

* compile.c (sim_load):	Don't pass a type to bfd_openr.
cagney_bigcore-20040122-branch
Michael Snyder 23 years ago
parent
commit
3d29fdb489
  1. 4
      sim/h8300/ChangeLog
  2. 2
      sim/h8300/compile.c

4
sim/h8300/ChangeLog

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

2
sim/h8300/compile.c

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

Loading…
Cancel
Save