mirror of
https://github.com/ctm/syn68k.git
synced 2025-02-26 19:30:54 +00:00
Ancient hacks that I made as I was trying to get Executor on iPad.
Unfortunately I never documented exactly what I did and now months have gone by, so I have to go back and try to figure out what I was doing and what worked and what didn't.
This commit is contained in:
parent
88219957db
commit
fc75521fb6
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
set -o errexit -o nounset -o noclobber
|
set -o errexit -o nounset -o noclobber
|
||||||
|
|
||||||
libtoolize
|
glibtoolize
|
||||||
aclocal
|
aclocal
|
||||||
autoheader
|
autoheader
|
||||||
automake --add-missing
|
automake --add-missing
|
||||||
|
@ -7,12 +7,15 @@
|
|||||||
/* Decide whether we are big or little endian here. Add more machines as
|
/* Decide whether we are big or little endian here. Add more machines as
|
||||||
* they are supported.
|
* they are supported.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* DO NOT COMMIT THE || 1 below or it will screw others. */
|
||||||
|
|
||||||
#if !defined(BIGENDIAN) && !defined(LITTLEENDIAN)
|
#if !defined(BIGENDIAN) && !defined(LITTLEENDIAN)
|
||||||
# if defined(__BIG_ENDIAN__) || defined(m68k) || defined(mc68000) \
|
# if defined(__BIG_ENDIAN__) || defined(m68k) || defined(mc68000) \
|
||||||
|| defined(sparc) || defined(powerpc) || defined (__ppc__)
|
|| defined(sparc) || defined(powerpc) || defined (__ppc__)
|
||||||
# define BIGENDIAN /* ARDI naming convention, why rock the boat? */
|
# define BIGENDIAN /* ARDI naming convention, why rock the boat? */
|
||||||
# elif defined(__alpha) || defined(i860) || defined(vax) || defined(i386) \
|
# elif defined(__alpha) || defined(i860) || defined(vax) || defined(i386) \
|
||||||
|| defined(__x86_64)
|
|| defined(__x86_64) || 1
|
||||||
# define LITTLEENDIAN
|
# define LITTLEENDIAN
|
||||||
# else
|
# else
|
||||||
# error "Unknown CPU type"
|
# error "Unknown CPU type"
|
||||||
@ -30,7 +33,8 @@
|
|||||||
* alpha can get by, for now.
|
* alpha can get by, for now.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined (QUADALIGN)
|
/* DO NOT COMMIT the && 0 below or it will screw others */
|
||||||
|
#if !defined (QUADALIGN) && 0
|
||||||
# if defined(sparc) || /* defined(__alpha) || */ defined (i860) || defined(mips)
|
# if defined(sparc) || /* defined(__alpha) || */ defined (i860) || defined(mips)
|
||||||
# define QUADALIGN
|
# define QUADALIGN
|
||||||
# elif !defined(m68k) && !defined(mc68000) && !defined(i386) \
|
# elif !defined(m68k) && !defined(mc68000) && !defined(i386) \
|
||||||
|
@ -22,7 +22,9 @@
|
|||||||
#elif defined(__x86_64)
|
#elif defined(__x86_64)
|
||||||
# define GLOBAL_REGISTER_DECLS register const uint16 *code asm ("%r12");
|
# define GLOBAL_REGISTER_DECLS register const uint16 *code asm ("%r12");
|
||||||
#else
|
#else
|
||||||
# error "Choose a global register to hold the current synthetic PC. Make sure it is saved by the normal calling convention."
|
/* DO NOT COMMIT THIS. IT IS FOR ARM ONLY, but I DON'T KNOW THE PREPROCESSOR SYMBOL */
|
||||||
|
# define GLOBAL_REGISTER_DECLS register const uint16 *code asm ("%r11");
|
||||||
|
// # error "Choose a global register to hold the current synthetic PC. Make sure it is saved by the normal calling convention."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user