aboutsummaryrefslogtreecommitdiff
path: root/bfd/aoutx.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r--bfd/aoutx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index db1e04b..d46d387 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -1160,7 +1160,7 @@ translate_from_native_sym_flags (sym_pointer, cache_ptr, abfd)
pointer to the symbol. Build a reloc entry to relocate to this
symbol attached to this section. */
- section->flags = SEC_CONSTRUCTOR;
+ section->flags = SEC_CONSTRUCTOR | SEC_RELOC;
section->reloc_count++;