diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-03-28 17:57:34 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-03-28 17:57:34 +0000 |
commit | a8a916c86f1925689c8bc39856f5d3c51fea96bc (patch) | |
tree | 4e74fe7bba24ac7ade8291814d082c1fba1c40bd /bfd/aoutx.h | |
parent | 3e1e245ddb9e74c99316818e0736793124b03858 (diff) | |
download | gdb-a8a916c86f1925689c8bc39856f5d3c51fea96bc.zip gdb-a8a916c86f1925689c8bc39856f5d3c51fea96bc.tar.gz gdb-a8a916c86f1925689c8bc39856f5d3c51fea96bc.tar.bz2 |
* aoutx.h (translate_from_native_sym_flags): Set SEC_RELOC flag
for generated constructor section.
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r-- | bfd/aoutx.h | 2 |
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++; |