m68k: fix SYSCALL_ERROR_LOAD_GOT for Coldfire

This commit is contained in:
Andreas Schwab 2010-08-25 22:55:55 +02:00
parent 9ed28e47dc
commit cf64098fc4
2 changed files with 6 additions and 1 deletions

View 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

View 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