Replace is_vxworks with elf.target_os == is_vxworks.
* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Updated.
* elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Remove
is_vxworks.
+2020-06-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Updated.
+ * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Remove
+ is_vxworks.
+
2020-06-06 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (elf_target_os): New.
eht->dynsymcount++;
}
}
- if (htab->is_vxworks
+ if (htab->elf.target_os == is_vxworks
&& !elf_vxworks_add_dynamic_entries (output_bfd, info))
return FALSE;
}
htab_t loc_hash_table;
void *loc_hash_memory;
- /* True if the target system is VxWorks. */
- int is_vxworks;
-
/* The (unloaded but important) .rela.plt.unloaded section, for VxWorks. */
asection *srelplt2;