aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2010-08-25 22:55:55 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2010-08-25 22:55:55 +0200
commitcf64098fc4aef77a4b708e5d92aedced16964390 (patch)
tree305fcbbe4303b4b0da30f6c758cefb7c5701a7df
parent9ed28e47dc21521ca404d36d114c651c7cee42bf (diff)
downloadglibc-cf64098fc4aef77a4b708e5d92aedced16964390.tar.xz
glibc-cf64098fc4aef77a4b708e5d92aedced16964390.zip
m68k: fix SYSCALL_ERROR_LOAD_GOT for Coldfire
-rw-r--r--ChangeLog.m68k5
-rw-r--r--sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog.m68k b/ChangeLog.m68k
index 9b0752312d..e66559a855 100644
--- a/ChangeLog.m68k
+++ b/ChangeLog.m68k
@@ -1,3 +1,8 @@
+2010-08-25 Andreas Schwab <schwab@linux-m68k.org>
+
+ * sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h
+ (SYSCALL_ERROR_LOAD_GOT): Use & instead of #.
+
2010-08-17 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h b/sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h
index e129dc1ec4..bbbb1567e0 100644
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h
+++ b/sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h
@@ -24,7 +24,7 @@
#include <sysdeps/unix/sysv/linux/m68k/sysdep.h>
#define SYSCALL_ERROR_LOAD_GOT(reg) \
- move.l #_GLOBAL_OFFSET_TABLE_@GOTPC, reg; \
+ move.l &_GLOBAL_OFFSET_TABLE_@GOTPC, reg; \
lea (-6, %pc, reg), reg
#endif