diff options
-rw-r--r-- | bfd/elf-vxworks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf-vxworks.c b/bfd/elf-vxworks.c index 27660eb..2fcf012 100644 --- a/bfd/elf-vxworks.c +++ b/bfd/elf-vxworks.c @@ -171,7 +171,7 @@ elf_vxworks_emit_relocs (bfd *output_bfd, && (*rel_hash)->def_dynamic && !(*rel_hash)->def_regular && ((*rel_hash)->root.type == bfd_link_hash_defined - || (*rel_hash)->root.type == bfd_link_hash_weakdef) + || (*rel_hash)->root.type == bfd_link_hash_defweak) && (*rel_hash)->root.u.def.section->output_section != NULL) { /* This is a relocation from an executable or shared library |