projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3ee258
)
Fix bug in jumptable call stubs for SPARC.
author
Sergey Mironov
<ierton@gmail.com>
Wed, 23 Sep 2009 12:47:38 +0000
(16:47 +0400)
committer
Daniel Hellstrom
<daniel@gaisler.com>
Tue, 27 Oct 2009 13:09:40 +0000
(14:09 +0100)
Signed-off-by: Sergey Mironov <ierton@gmail.com>
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
examples/standalone/stubs.c
patch
|
blob
|
history
diff --git
a/examples/standalone/stubs.c
b/examples/standalone/stubs.c
index 339bbf9b56dc9725f3b71f4f7e43c8e5d806d4e7..ce3371d912281f9f71931a5071ef0ac774cb9ce1 100644
(file)
--- a/
examples/standalone/stubs.c
+++ b/
examples/standalone/stubs.c
@@
-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