Revision 273af660 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
#define GETPC() (__builtin_return_address(0))
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
32 36

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

Also available in: Unified diff