Revision 273af660 target-sparc/op_helper.c

b/target-sparc/op_helper.c
1680 1680

  
1681 1681
#define MMUSUFFIX _mmu
1682 1682
#define ALIGNED_ONLY
1683
#define GETPC() (__builtin_return_address(0))
1683
#ifdef __s390__
1684
# define GETPC() ((void*)((unsigned long)__builtin_return_address(0) & 0x7fffffffUL))
1685
#else
1686
# define GETPC() (__builtin_return_address(0))
1687
#endif
1684 1688

  
1685 1689
#define SHIFT 0
1686 1690
#include "softmmu_template.h"

Also available in: Unified diff