* elf-vxworks.c (elf_vxworks_emit_relocs): Remap weakdef PLT slot
relocs too.
This commit is contained in:
parent
8a3dae3ed0
commit
8776bb8aa5
@ -1,3 +1,8 @@
|
||||
2007-04-11 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* elf-vxworks.c (elf_vxworks_emit_relocs): Remap weakdef PLT slot
|
||||
relocs too.
|
||||
|
||||
2007-04-10 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* elf64-alpha.c (struct alpha_elf_link_hash_table): Add relax_trip.
|
||||
|
@ -170,7 +170,8 @@ elf_vxworks_emit_relocs (bfd *output_bfd,
|
||||
&& *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_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
|
||||
|
Loading…
Reference in New Issue
Block a user