dev86-long.patch 708 B

12345678910111213141516171819202122
  1. diff -up dev86-0.16.19/ld/x86_aout.h.long dev86-0.16.19/ld/x86_aout.h
  2. --- dev86-0.16.19/ld/x86_aout.h.long 2012-07-30 10:17:06.000000000 +0200
  3. +++ dev86-0.16.19/ld/x86_aout.h 2012-11-15 15:19:12.215396644 +0100
  4. @@ -11,17 +11,11 @@
  5. /* If the host isn't an x86 all bets are off, use chars. */
  6. #if defined(i386) || defined(__BCC__) || defined(MSDOS)
  7. typedef long Long;
  8. -#define __OUT_OK 1
  9. #else
  10. -/* Beware: this will probably allow some BE hosts to generate broken files. */
  11. -#ifdef INT32_MAX
  12. #include <stdint.h>
  13. typedef int32_t Long;
  14. -#define __OUT_OK 1
  15. -#else
  16. -typedef char Long[4];
  17. -#endif
  18. #endif
  19. +#define __OUT_OK 1
  20. struct exec { /* a.out header */
  21. unsigned char a_magic[2]; /* magic number */