2007-04-11 Nathan Sidwell * elf-vxworks.c (elf_vxworks_emit_relocs): Remap weakdef PLT slot relocs too. Index: elf-vxworks.c =================================================================== RCS file: /cvs/src/src/bfd/elf-vxworks.c,v retrieving revision 1.5 diff -c -3 -p -r1.5 elf-vxworks.c *** elf-vxworks.c 4 Aug 2006 13:13:55 -0000 1.5 --- elf-vxworks.c 11 Apr 2007 09:46:46 -0000 *************** elf_vxworks_emit_relocs (bfd *output_bfd *** 170,176 **** && *rel_hash && (*rel_hash)->def_dynamic && !(*rel_hash)->def_regular ! && (*rel_hash)->root.type == bfd_link_hash_defined && (*rel_hash)->root.u.def.section->output_section != NULL) { /* This is a relocation from an executable or shared library --- 170,177 ---- && *rel_hash && (*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.u.def.section->output_section != NULL) { /* This is a relocation from an executable or shared library