Revision 273af660 target-arm/op_helper.c
b/target-arm/op_helper.c | ||
---|---|---|
178 | 178 |
#if !defined(CONFIG_USER_ONLY) |
179 | 179 |
|
180 | 180 |
#define MMUSUFFIX _mmu |
181 |
#define GETPC() (__builtin_return_address(0)) |
|
181 |
#ifdef __s390__ |
|
182 |
# define GETPC() ((void*)((unsigned long)__builtin_return_address(0) & 0x7fffffffUL)) |
|
183 |
#else |
|
184 |
# define GETPC() (__builtin_return_address(0)) |
|
185 |
#endif |
|
182 | 186 |
|
183 | 187 |
#define SHIFT 0 |
184 | 188 |
#include "softmmu_template.h" |
Also available in: Unified diff