From 62ac733b093d5cb0a5e84ec48f4d4fec5a4bf828 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Sat, 4 Mar 2006 16:06:38 +0000 Subject: [PATCH] simplify and save a few bytes committer: jreiser 1141488398 +0000 --- src/stub/m_lx_elfppc32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stub/m_lx_elfppc32.c b/src/stub/m_lx_elfppc32.c index 4c7be2d3..f70cd871 100644 --- a/src/stub/m_lx_elfppc32.c +++ b/src/stub/m_lx_elfppc32.c @@ -263,11 +263,11 @@ do_xmap( if (xi) { unpackExtent(xi, &xo, f_decompress, f_unf); } - if (xi || (PROT_WRITE & prot)) { + if (PROT_WRITE & prot) { bzero(addr, frag); // fragment at lo end } frag = (-mlen) &~ PAGE_MASK; // distance to next page boundary - if (xi || (PROT_WRITE & prot)) { + if (PROT_WRITE & prot) { bzero(mlen+addr, frag); // fragment at hi end } if (xi) {