aboutsummaryrefslogtreecommitdiff
path: root/bfd/seclet.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/seclet.c')
-rw-r--r--bfd/seclet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/seclet.c b/bfd/seclet.c
index d95a844..c26f7b4 100644
--- a/bfd/seclet.c
+++ b/bfd/seclet.c
@@ -81,6 +81,7 @@ DEFUN(rel,(abfd, seclet, output_section, data),
if (output_section->flags & SEC_HAS_CONTENTS
&& !(output_section->flags & SEC_NEVER_LOAD)
+ && (output_section->flags & SEC_LOAD)
&& seclet->size)
{
data = (PTR) bfd_get_relocated_section_contents(abfd, seclet, data);