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) {