* elf64-hppa.c (allocate_global_data_opd): Don't create an OPD entry
for undefined weak symbols.
This commit is contained in:
parent
a849c9ab4f
commit
af7cfa3311
@ -1,3 +1,8 @@
|
||||
2006-03-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
* elf64-hppa.c (allocate_global_data_opd): Don't create an OPD entry
|
||||
for undefined weak symbols.
|
||||
|
||||
2006-03-17 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
PR ld/2462
|
||||
|
||||
@ -1129,6 +1129,7 @@ allocate_global_data_opd (dyn_h, data)
|
||||
/* We never need an opd entry for a symbol which is not
|
||||
defined by this output file. */
|
||||
if (h && (h->root.type == bfd_link_hash_undefined
|
||||
|| h->root.type == bfd_link_hash_undefweak
|
||||
|| h->root.u.def.section->output_section == NULL))
|
||||
dyn_h->want_opd = 0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user