summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-03 12:28:17 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-03 12:28:17 +0000
commit50b0331720981ca79293e1054523c42afea55aeb (patch)
treeca4bcb84c882632839430eb75209d6141f3c172a
parente0d1b83cf82a40ecb6ab4cef10653f9160f270fe (diff)
- jmp on coldfire accepts only address registers
Closes #3824
-rw-r--r--ldso/ldso/m68k/resolve.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/ldso/ldso/m68k/resolve.S b/ldso/ldso/m68k/resolve.S
index d9a2929d6..1bd5c0096 100644
--- a/ldso/ldso/m68k/resolve.S
+++ b/ldso/ldso/m68k/resolve.S
@@ -19,5 +19,10 @@ _dl_linux_resolve:
# Pop parameters
addq.l #8, %sp
# Call real function.
+#if defined __mcoldfire__
+ move.l %d0,-(%sp)
+ rts
+#else
jmp (%d0)
+#endif
.size _dl_linux_resolve,.-_dl_linux_resolve