summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/imxtools/sbtools/elftosb1.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/imxtools/sbtools/elftosb1.c b/utils/imxtools/sbtools/elftosb1.c
index 02e986e1cd..20d4b55386 100644
--- a/utils/imxtools/sbtools/elftosb1.c
+++ b/utils/imxtools/sbtools/elftosb1.c
@@ -382,6 +382,11 @@ CMD_FN(cmd_call)
return sb1_add_call(sb, args[0].uint, g_jump_arg);
}
+CMD_FN(cmd_jump)
+{
+ return sb1_add_jump(sb, args[0].uint, g_jump_arg);
+}
+
CMD_FN(cmd_jumparg)
{
(void) sb;
@@ -509,6 +514,7 @@ struct cmd_entry_t g_cmds[] =
CMD("-v", cmd_component, 1, ARG_STR)
CMD("-component", cmd_component, 1, ARG_STR)
CMD("-k", cmd_keyfile, 1, ARG_STR)
+ CMD("-jump", cmd_jump, 1, ARG_UINT)
};
#undef CMD
@@ -572,6 +578,8 @@ static void usage(void)
printf(" -C/-noncritical\t\tClear critical flag\n");
printf(" -n/-strict\t\t\tSet strict flag\n");
printf(" -N/-nonstrict\t\t\tClear strict flag\n");
+ printf(" -call <addr>\t\tCall an address\n");
+ printf(" -jump <addr>\t\tJump to an address\n");
exit(1);
}