~ubuntu-branches/debian/experimental/binutils/experimental

« back to all changes in this revision

Viewing changes to bfd/elf32-arm.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-07-31 22:20:22 UTC
  • mfrom: (1.7.10)
  • Revision ID: package-import@ubuntu.com-20120731222022-0anxbeg8at8rnrx1
Tags: 2.22.90.20120731-1
New upstream snapshot (taken from the 2.23 branch).

Show diffs side-by-side

added added

removed removed

Lines of Context:
12886
12886
  if (_bfd_dwarf2_find_nearest_line (abfd, dwarf_debug_sections,
12887
12887
                                     section, symbols, offset,
12888
12888
                                     filename_ptr, functionname_ptr,
12889
 
                                     line_ptr, 0,
 
12889
                                     line_ptr, NULL, 0,
12890
12890
                                     & elf_tdata (abfd)->dwarf2_find_line_info))
12891
12891
    {
12892
12892
      if (!*functionname_ptr)
14083
14083
              name = RELOC_SECTION (htab, ".plt");
14084
14084
            get_vma:
14085
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 script"), name);
 
14091
                  bfd_set_error (bfd_error_invalid_operation);
 
14092
                  return FALSE;
 
14093
                }
14087
14094
              if (!htab->symbian_p)
14088
14095
                dyn.d_un.d_ptr = s->vma;
14089
14096
              else