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:
Clifford T. Matthews 2010-11-11 09:33:10 -07:00
parent 88219957db
commit fc75521fb6
3 changed files with 10 additions and 4 deletions

View File

@ -4,7 +4,7 @@
set -o errexit -o nounset -o noclobber
libtoolize
glibtoolize
aclocal
autoheader
automake --add-missing

View File

@ -7,12 +7,15 @@
/* Decide whether we are big or little endian here. Add more machines as
* they are supported.
*/
/* DO NOT COMMIT THE || 1 below or it will screw others. */
#if !defined(BIGENDIAN) && !defined(LITTLEENDIAN)
# if defined(__BIG_ENDIAN__) || defined(m68k) || defined(mc68000) \
|| defined(sparc) || defined(powerpc) || defined (__ppc__)
# define BIGENDIAN /* ARDI naming convention, why rock the boat? */
# elif defined(__alpha) || defined(i860) || defined(vax) || defined(i386) \
|| defined(__x86_64)
|| defined(__x86_64) || 1
# define LITTLEENDIAN
# else
# error "Unknown CPU type"
@ -30,7 +33,8 @@
* 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)
# define QUADALIGN
# elif !defined(m68k) && !defined(mc68000) && !defined(i386) \

View File

@ -22,7 +22,9 @@
#elif defined(__x86_64)
# define GLOBAL_REGISTER_DECLS register const uint16 *code asm ("%r12");
#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