Revision 273af660 target-cris/op_helper.c
b/target-cris/op_helper.c | ||
---|---|---|
23 | 23 |
#include "exec.h" |
24 | 24 |
|
25 | 25 |
#define MMUSUFFIX _mmu |
26 |
#define GETPC() (__builtin_return_address(0)) |
|
26 |
#ifdef __s390__ |
|
27 |
# define GETPC() ((void*)((unsigned long)__builtin_return_address(0) & 0x7fffffffUL)) |
|
28 |
#else |
|
29 |
# define GETPC() (__builtin_return_address(0)) |
|
30 |
#endif |
|
27 | 31 |
|
28 | 32 |
#define SHIFT 0 |
29 | 33 |
#include "softmmu_template.h" |
Also available in: Unified diff