Revision 273af660 target-alpha/op_helper.c

b/target-alpha/op_helper.c
1076 1076
/* Softmmu support */
1077 1077
#if !defined (CONFIG_USER_ONLY)
1078 1078

  
1079
#define GETPC() (__builtin_return_address(0))
1079
#ifdef __s390__
1080
# define GETPC() ((void*)((unsigned long)__builtin_return_address(0) & 0x7fffffffUL))
1081
#else
1082
# define GETPC() (__builtin_return_address(0))
1083
#endif
1080 1084

  
1081 1085
/* XXX: the two following helpers are pure hacks.
1082 1086
 *      Hopefully, we emulate the PALcode, then we should never see

Also available in: Unified diff