From bcab203d31b2dd7e0b35abda34c42c278217bcf6 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 6 Jun 2020 17:40:47 -0700 Subject: Remove is_vxworks from _bfd_sparc_elf_link_hash_table 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. --- bfd/elfxx-sparc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/elfxx-sparc.c') diff --git a/bfd/elfxx-sparc.c b/bfd/elfxx-sparc.c index eca44c9..4dcdd17 100644 --- a/bfd/elfxx-sparc.c +++ b/bfd/elfxx-sparc.c @@ -2678,7 +2678,7 @@ _bfd_sparc_elf_size_dynamic_sections (bfd *output_bfd, eht->dynsymcount++; } } - if (htab->is_vxworks + if (htab->elf.target_os == is_vxworks && !elf_vxworks_add_dynamic_entries (output_bfd, info)) return FALSE; } -- cgit v1.1