From: Michael Snyder Date: Tue, 6 Jan 2004 00:58:48 +0000 (+0000) Subject: 2004-01-05 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d29fdb4895aadc84a77abcd0712153dbf22a941;p=binutils-gdb.git 2004-01-05 Michael Snyder * compile.c (sim_load): Don't pass a type to bfd_openr. --- diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog index 5d66c95ea85..9938196d7b6 100644 --- a/sim/h8300/ChangeLog +++ b/sim/h8300/ChangeLog @@ -1,3 +1,7 @@ +2004-01-05 Michael Snyder + + * compile.c (sim_load): Don't pass a type to bfd_openr. + 2003-12-16 Michael Snyder Patch submitted by Anil Paranjape diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c index 462240ce145..ec5f974c7b3 100644 --- a/sim/h8300/compile.c +++ b/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