View | Details | Raw Unified | Return to bug 14397 | Differences between
and this patch

Collapse All | Expand All

(-)bfd/elf32-arm.c (-1 / +8 lines)
Lines 14083-14089 elf32_arm_finish_dynamic_sections (bfd * Link Here
14083
	      name = RELOC_SECTION (htab, ".plt");
14083
	      name = RELOC_SECTION (htab, ".plt");
14084
	    get_vma:
14084
	    get_vma:
14085
	      s = bfd_get_section_by_name (output_bfd, name);
14085
	      s = bfd_get_section_by_name (output_bfd, name);
14086
	      BFD_ASSERT (s != NULL);
14086
	      if (s == NULL)
14087
		{
14088
		  /* PR ld/14397: Issue an error message if a required section is missing.  */
14089
		  (*_bfd_error_handler)
14090
		    (_("error: required section '%s' not found in the linker map"), name);
14091
		  bfd_set_error (bfd_error_invalid_operation);
14092
		  return FALSE;
14093
		}
14087
	      if (!htab->symbian_p)
14094
	      if (!htab->symbian_p)
14088
		dyn.d_un.d_ptr = s->vma;
14095
		dyn.d_un.d_ptr = s->vma;
14089
	      else
14096
	      else

Return to bug 14397