summaryrefslogtreecommitdiff
path: root/examples/stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stubs.c')
-rw-r--r--examples/stubs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stubs.c b/examples/stubs.c
index 250a9af6e56..1caa5757479 100644
--- a/examples/stubs.c
+++ b/examples/stubs.c
@@ -92,7 +92,7 @@ gd_t *global_data;
#x ":\n" \
" movhi r8, %%hi(%0)\n" \
" ori r8, r0, %%lo(%0)\n" \
-" add r8, r0, r15\n" \
+" add r8, r8, r15\n" \
" ldw r8, 0(r8)\n" \
" ldw r8, %1(r8)\n" \
" jmp r8\n" \