* aoutx.h (translate_from_native_sym_flags): Set SEC_RELOC flag

for generated constructor section.
This commit is contained in:
Ian Lance Taylor 1994-03-28 17:57:34 +00:00
parent 3e1e245ddb
commit a8a916c86f
2 changed files with 6 additions and 1 deletions

View 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

View 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++;