mirror of
https://github.com/vivier/EMILE.git
synced 2026-10-22 04:02:33 +00:00
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:
1 parent
72fe121b08
commit
5d2fe2dbb2
1 file changed
+1
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user