summaryrefslogtreecommitdiff
path: root/bfd/elf-vxworks.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2007-04-11 14:36:33 +0000
committerNathan Sidwell <nathan@codesourcery.com>2007-04-11 14:36:33 +0000
commit36e7b5829b53db5496ef800e7ca5c4f83b70fe8c (patch)
treed64c17f8902ee2584a9ca4fb45f71052d73de2ba /bfd/elf-vxworks.c
parentafed677ebad48e0046e93c1e8c374f4a48e13672 (diff)
downloadbinutils-redhat-36e7b5829b53db5496ef800e7ca5c4f83b70fe8c.tar.gz
fix typo in previous commit
Diffstat (limited to 'bfd/elf-vxworks.c')
-rw-r--r--bfd/elf-vxworks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf-vxworks.c b/bfd/elf-vxworks.c
index 27660eb467..2fcf01253b 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