FreeBSD/contrib/binutils/bfd/elflink.c
/* Make weak undefined symbols in PIE dynamic.  */
Make weak undefined symbols in PIE dynamic.
Make weak undefined symbols in PIE dynamic .
bfd_boolean
_bfd_elf_link_hash_fixup_symbol (struct bfd_link_info *info,
				 struct elf_link_hash_entry *h)
{
  if (info->pie
      && h->dynindx == -1
      && h->root.type == bfd_link_hash_undefweak)
    return bfd_elf_link_record_dynamic_symbol (info, h);
  return TRUE;
}
bfd_boolean _bfd_elf_link_hash_fixup_symbol ( struct bfd_link_info * info , struct elf_link_hash_entry * h ) { if ( info -> pie && h -> dynindx == -1 && h -> root . type == bfd_link_hash_undefweak ) return bfd_elf_link_record_dynamic_symbol ( info , h ) ; return TRUE ; }
Make weak undefined symbols in PIE dynamic.
Make weak undefined symbols in PIE dynamic .