summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-10-28 21:48:40 +0100
committerWolfgang Denk <wd@denx.de>2009-10-28 21:48:40 +0100
commitd187fcaaa24399068ca04d7f3f9b56fdde3fc3f0 (patch)
tree9264f339598b107fbf8e94143509799bcc85e338
parenta38f85e180a30b6225808828ded1017b1a5418c6 (diff)
parent2c0c58b92dbb68007061bdc0edd23bdf142efebf (diff)
downloadu-boot-imx-d187fcaaa24399068ca04d7f3f9b56fdde3fc3f0.zip
u-boot-imx-d187fcaaa24399068ca04d7f3f9b56fdde3fc3f0.tar.gz
u-boot-imx-d187fcaaa24399068ca04d7f3f9b56fdde3fc3f0.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-sparc
-rw-r--r--examples/standalone/stubs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/standalone/stubs.c b/examples/standalone/stubs.c
index 339bbf9..ce3371d 100644
--- 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