Revision 9b7b85d2 target-sh4/op_helper.c

b/target-sh4/op_helper.c
28 28
#ifndef CONFIG_USER_ONLY
29 29

  
30 30
#define MMUSUFFIX _mmu
31
#ifdef __s390__
32
# define GETPC() ((void*)((unsigned long)__builtin_return_address(0) & 0x7fffffffUL))
33
#else
34
# define GETPC() (__builtin_return_address(0))
35
#endif
36 31

  
37 32
#define SHIFT 0
38 33
#include "softmmu_template.h"

Also available in: Unified diff