]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
m68k: fix SYSCALL_ERROR_LOAD_GOT for Coldfire
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 25 Aug 2010 20:55:55 +0000 (22:55 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Wed, 25 Aug 2010 20:55:55 +0000 (22:55 +0200)
ChangeLog.m68k
sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h

index 9b0752312d83f42ccea38908a9b19984b5d3fe78..e66559a855d6e3cd78eed9689d4802554290607d 100644 (file)
@@ -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
index e129dc1ec4c7d7e9b677718d0a8be685c79d0052..bbbb1567e0d820208022f3cc67114d2949d68095 100644 (file)
@@ -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