diff options
Diffstat (limited to 'coregrind/m_translate.c')
-rw-r--r-- | coregrind/m_translate.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/coregrind/m_translate.c b/coregrind/m_translate.c index 4cdf220b..864f38d3 100644 --- a/coregrind/m_translate.c +++ b/coregrind/m_translate.c @@ -692,7 +692,7 @@ void log_bytes ( HChar* bytes, Int nbytes ) static Bool translations_allowable_from_seg ( NSegment const* seg ) { -# if defined(VGA_x86) +# if defined(VGA_x86) || defined(VGA_s390x) Bool allowR = True; # else Bool allowR = False; @@ -1503,7 +1503,8 @@ Bool VG_(translate) ( ThreadId tid, ? (void*) &VG_(run_innerloop__dispatch_profiled) : (void*) &VG_(run_innerloop__dispatch_unprofiled); # elif defined(VGA_ppc32) || defined(VGA_ppc64) \ - || defined(VGA_arm) + || defined(VGA_arm) || defined(VGA_s390x) + /* See comment libvex.h; machine has link register --> dipatch = NULL */ vta.dispatch = NULL; # else # error "Unknown arch" |