| Index: src/trusted/service_runtime/arch/arm/nacl_switch_to_app_arm.c
|
| diff --git a/src/trusted/service_runtime/arch/arm/nacl_switch_to_app_arm.c b/src/trusted/service_runtime/arch/arm/nacl_switch_to_app_arm.c
|
| index d8d5e1e41a14ef2e1be276f0e5594c972e44f911..5517604ebad9b4831d36d157212c107f23545ab8 100644
|
| --- a/src/trusted/service_runtime/arch/arm/nacl_switch_to_app_arm.c
|
| +++ b/src/trusted/service_runtime/arch/arm/nacl_switch_to_app_arm.c
|
| @@ -32,7 +32,7 @@ NORETURN void NaClStartThreadInApp(struct NaClAppThread *natp,
|
|
|
| nap = natp->nap;
|
| context = &natp->user;
|
| - context->new_eip = new_prog_ctr;
|
| + context->new_prog_ctr = new_prog_ctr;
|
|
|
| /*
|
| * At startup this is not the return value, but the first argument.
|
| @@ -63,7 +63,7 @@ NORETURN void NaClSwitchToApp(struct NaClAppThread *natp,
|
|
|
| nap = natp->nap;
|
| context = &natp->user;
|
| - context->new_eip = new_prog_ctr;
|
| + context->new_prog_ctr = new_prog_ctr;
|
| context->sysret = natp->sysret;
|
|
|
| NaClSwitch(context);
|
|
|