Line 1583... |
Line 1583... |
|
|
/* Dynamic relocs are not propagated for SEC_DEBUGGING sections
|
/* Dynamic relocs are not propagated for SEC_DEBUGGING sections
|
because such sections are not SEC_ALLOC and thus ld.so will
|
because such sections are not SEC_ALLOC and thus ld.so will
|
not process them. */
|
not process them. */
|
if (unresolved_reloc
|
if (unresolved_reloc
|
&& !((input_section->flags & SEC_DEBUGGING) != 0 && h->def_dynamic))
|
&& !((input_section->flags & SEC_DEBUGGING) != 0 && h->def_dynamic)
|
|
&& _bfd_elf_section_offset (output_bfd, info, input_section,
|
|
rel->r_offset) != (bfd_vma) -1)
|
{
|
{
|
(*_bfd_error_handler)
|
(*_bfd_error_handler)
|
(_("%B(%A+0x%lx): unresolvable relocation against symbol `%s'"),
|
(_("%B(%A+0x%lx): unresolvable relocation against symbol `%s'"),
|
input_bfd,
|
input_bfd,
|
input_section, (long) rel->r_offset, h->root.root.string);
|
input_section, (long) rel->r_offset, h->root.root.string);
|
Line 2729... |
Line 2731... |
break;
|
break;
|
|
|
default:
|
default:
|
non_fdpic:
|
non_fdpic:
|
picrel = NULL;
|
picrel = NULL;
|
if (h && ! BFINFDPIC_SYM_LOCAL (info, h))
|
if (h && ! BFINFDPIC_SYM_LOCAL (info, h)
|
|
&& _bfd_elf_section_offset (output_bfd, info, input_section,
|
|
rel->r_offset) != (bfd_vma) -1)
|
{
|
{
|
info->callbacks->warning
|
info->callbacks->warning
|
(info, _("relocation references symbol not defined in the module"),
|
(info, _("relocation references symbol not defined in the module"),
|
name, input_bfd, input_section, rel->r_offset);
|
name, input_bfd, input_section, rel->r_offset);
|
return FALSE;
|
return FALSE;
|