* aoutx.h (translate_from_native_sym_flags): Set SEC_RELOC flag
authorIan Lance Taylor <ian@airs.com>
Mon, 28 Mar 1994 17:57:34 +0000 (17:57 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 28 Mar 1994 17:57:34 +0000 (17:57 +0000)
for generated constructor section.

bfd/ChangeLog
bfd/aoutx.h

index 1a404f8..feb88bc 100644 (file)
@@ -1,3 +1,8 @@
+Mon Mar 28 12:53:27 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * aoutx.h (translate_from_native_sym_flags): Set SEC_RELOC flag
+       for generated constructor section.
+
 Sat Mar 26 10:25:43 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
 
        * som.c (som_get_section_contents): New function.  Do not try
index db1e04b..d46d387 100644 (file)
@@ -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++;