From: Nathan Sidwell Date: Wed, 11 Apr 2007 14:36:33 +0000 (+0000) Subject: fix typo in previous commit X-Git-Tag: binutils-2_18-branchpoint~1105 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c10564a99efa605e83810da5cdd58af7fe130a0d;p=thirdparty%2Fbinutils-gdb.git fix typo in previous commit --- diff --git a/bfd/elf-vxworks.c b/bfd/elf-vxworks.c index 27660eb4678..2fcf01253be 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