Allow to compile with gcc-4 by adding a contraint on memory for MacOS traps

Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
This commit is contained in:
Laurent Vivier 2008-10-27 20:51:15 +01:00
parent 72fe121b08
commit 5d2fe2dbb2

View File

@ -34,7 +34,7 @@
/*
* Inside Macintosh Volume I, I-94: Register Saving Conventions */
#define UNPRESERVED_REGS "%%a0", "%%a1", "%%d1", "%%d2", "%%sp"
#define UNPRESERVED_REGS "%%a0", "%%a1", "%%d1", "%%d2", "%%sp", "memory"
#define _Trap(a) #a
#define Trap(a) " dc.w "_Trap(a)" /* "#a" */\n"