diff options
author | Wolfgang Denk <wd@denx.de> | 2009-10-28 20:48:40 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-10-28 20:48:40 (GMT) |
commit | d187fcaaa24399068ca04d7f3f9b56fdde3fc3f0 (patch) | |
tree | 9264f339598b107fbf8e94143509799bcc85e338 | |
parent | a38f85e180a30b6225808828ded1017b1a5418c6 (diff) | |
parent | 2c0c58b92dbb68007061bdc0edd23bdf142efebf (diff) | |
download | u-boot-fsl-qoriq-d187fcaaa24399068ca04d7f3f9b56fdde3fc3f0.tar.xz |
Merge branch 'master' of git://git.denx.de/u-boot-sparc
-rw-r--r-- | examples/standalone/stubs.c | 4 |
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 |