aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/erc32/ChangeLog4
-rw-r--r--sim/erc32/interf.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index 5317b99..fac1c94 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-09 Mike Frysinger <vapier@gentoo.org>
+
+ * interf.c (sim_open): Accept and ignore `--sysroot=...'.
+
2011-06-01 Joel Brobecker <brobecker@adacore.com>
* interf.c (sim_complete_command): New stub function.
diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c
index 7ee4dee..d94201a 100644
--- a/sim/erc32/interf.c
+++ b/sim/erc32/interf.c
@@ -234,6 +234,9 @@ sim_open (kind, callback, abfd, argv)
if ((stat + 1) < argc) {
freq = strtol(argv[++stat], (char **)NULL, 0);
}
+ } else
+ if (strncmp(argv[stat], "--sysroot=", sizeof("--sysroot=") - 1) == 0) {
+ /* Ignore until we start to support this. */
} else {
(*sim_callback->printf_filtered) (sim_callback,
"unknown option %s\n",