aboutsummaryrefslogtreecommitdiff
path: root/sim/microblaze
diff options
context:
space:
mode:
Diffstat (limited to 'sim/microblaze')
-rw-r--r--sim/microblaze/ChangeLog4
-rw-r--r--sim/microblaze/interp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog
index fe6add2..911a8b3 100644
--- a/sim/microblaze/ChangeLog
+++ b/sim/microblaze/ChangeLog
@@ -1,3 +1,7 @@
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (sim_load): Add const to prog.
+
2014-02-17 Mike Frysinger <vapier@gentoo.org>
PR gdb/16450
diff --git a/sim/microblaze/interp.c b/sim/microblaze/interp.c
index 4907b73..8fcf9d9 100644
--- a/sim/microblaze/interp.c
+++ b/sim/microblaze/interp.c
@@ -887,7 +887,7 @@ sim_close (SIM_DESC sd, int quitting)
}
SIM_RC
-sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty)
+sim_load (SIM_DESC sd, const char *prog, bfd *abfd, int from_tty)
{
/* Do the right thing for ELF executables; this turns out to be
just about the right thing for any object format that: