summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);