diff options
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2011-03-07 16:05:35 +0000 |
---|---|---|
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2011-03-07 16:05:35 +0000 |
commit | b5b87408c0c99f9f6938d8cd921e2a5f420577c4 (patch) | |
tree | b08f27d1afb1563e48b404f64768cce9e3879e73 /coregrind/m_translate.c | |
parent | 7615878d149bd002057c929e41b2c0bf6c053ebb (diff) |
Add a port to IBM z/Architecture (s390x) running Linux -- Valgrind
side components. (Florian Krohm <britzel@acm.org> and Christian
Borntraeger <borntraeger@de.ibm.com>). Fixes #243404.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11604 a5019735-40e9-0310-863c-91ae7b9d1cf9
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" |