summaryrefslogtreecommitdiff
path: root/exec/exec.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-02-09 00:50:00 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-02-09 00:50:00 +0000
commit8d44b964aef85ed64616ec99365d92011ebaa073 (patch)
tree14b79888fedede0488ff2aa67b4431cdd6376cdd /exec/exec.c
parent30a8b0dd93b24c310c9f28ac3271962bc07d054f (diff)
(load_section): Don't check SEC_HAS_CONTENTS for clearing overlap bss
pages.
Diffstat (limited to 'exec/exec.c')
-rw-r--r--exec/exec.c6
1 files changed, 1 insertions, 5 deletions
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);