Skip to content
Snippets Groups Projects
Commit 2c0c58b9 authored by Sergey Mironov's avatar Sergey Mironov Committed by Daniel Hellstrom
Browse files

Fix bug in jumptable call stubs for SPARC.

parent f3ee2585
No related branches found
No related tags found
No related merge requests found
......@@ -181,9 +181,9 @@ gd_t *global_data;
" or %%g1, %%g7, %%g1\n" \
" ld [%%g1], %%g1\n" \
" ld [%%g1 + %1], %%g1\n" \
" call %%g1\n" \
" jmp %%g1\n" \
" nop\n" \
: : "i"(offsetof(gd_t, jt)), "i"(XF_ ## x) : "g1" );
: : "i"(offsetof(gd_t, jt)), "i"(XF_ ## x * sizeof(void *)) : "g1" );
#else
#error stubs definition missing for this architecture
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment