Diff for /qemu/dyngen-exec.h between versions 1.1.1.7 and 1.1.1.8

version 1.1.1.7, 2018/04/24 17:20:56 version 1.1.1.8, 2018/04/24 17:34:40
Line 39 Line 39
 /* XXX: This may be wrong for 64-bit ILP32 hosts.  */  /* XXX: This may be wrong for 64-bit ILP32 hosts.  */
 typedef void * host_reg_t;  typedef void * host_reg_t;
   
 #ifdef HOST_BSD  #ifdef CONFIG_BSD
 typedef struct __sFILE FILE;  typedef struct __sFILE FILE;
 #else  #else
 typedef struct FILE FILE;  typedef struct FILE FILE;
Line 47  typedef struct FILE FILE; Line 47  typedef struct FILE FILE;
 extern int fprintf(FILE *, const char *, ...);  extern int fprintf(FILE *, const char *, ...);
 extern int fputs(const char *, FILE *);  extern int fputs(const char *, FILE *);
 extern int printf(const char *, ...);  extern int printf(const char *, ...);
 #undef NULL  
 #define NULL 0  
   
 #if defined(__i386__)  #if defined(__i386__)
 #define AREG0 "ebp"  #define AREG0 "ebp"
Line 75  extern int printf(const char *, ...); Line 73  extern int printf(const char *, ...);
 #define AREG1 "s0"  #define AREG1 "s0"
 #define AREG2 "s1"  #define AREG2 "s1"
 #elif defined(__sparc__)  #elif defined(__sparc__)
 #ifdef HOST_SOLARIS  #ifdef CONFIG_SOLARIS
 #define AREG0 "g2"  #define AREG0 "g2"
 #define AREG1 "g3"  #define AREG1 "g3"
 #define AREG2 "g4"  #define AREG2 "g4"
Line 119  extern int printf(const char *, ...); Line 117  extern int printf(const char *, ...);
   
 /* The return address may point to the start of the next instruction.  /* The return address may point to the start of the next instruction.
    Subtracting one gets us the call instruction itself.  */     Subtracting one gets us the call instruction itself.  */
 #if defined(__s390__)  #if defined(__s390__) && !defined(__s390x__)
 # define GETPC() ((void*)(((unsigned long)__builtin_return_address(0) & 0x7fffffffUL) - 1))  # define GETPC() ((void*)(((unsigned long)__builtin_return_address(0) & 0x7fffffffUL) - 1))
 #elif defined(__arm__)  #elif defined(__arm__)
 /* Thumb return addresses have the low bit set, so we need to subtract two.  /* Thumb return addresses have the low bit set, so we need to subtract two.

Removed from v.1.1.1.7  
changed lines
  Added in v.1.1.1.8


unix.superglobalmegacorp.com