From 8d44b964aef85ed64616ec99365d92011ebaa073 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 9 Feb 1995 00:50:00 +0000 Subject: (load_section): Don't check SEC_HAS_CONTENTS for clearing overlap bss pages. --- exec/exec.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'exec') diff --git a/exec/exec.c b/exec/exec.c index ba0cfffb..02c2b911 100644 --- a/exec/exec.c +++ b/exec/exec.c @@ -419,11 +419,7 @@ load_section (enum section section, struct execdata *u) return; } - if (mapstart > addr -#ifdef BFD - && (sec->flags & SEC_HAS_CONTENTS) -#endif - ) + if (mapstart > addr) { /* Zero space in the section before the first page boundary. */ vm_address_t overlap_page = trunc_page (addr); -- cgit v1.2.3