PR24623, DWARF errors
[deliverable/binutils-gdb.git] / bfd / elf32-s390.c
index 1bf8cc27608701a859a0542e50f45af40e1e0bb9..7bdccdbef982f3d491fa94c412648407e7fac76f 100644 (file)
@@ -1366,9 +1366,7 @@ elf_s390_check_relocs (bfd *abfd,
          /* This relocation describes which C++ vtable entries are actually
             used.  Record for later use during GC.  */
        case R_390_GNU_VTENTRY:
-         BFD_ASSERT (h != NULL);
-         if (h != NULL
-             && !bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_addend))
+         if (!bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_addend))
            return FALSE;
          break;
 
@@ -1666,7 +1664,8 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf)
          /* Make room for this entry.  */
          s->size += PLT_ENTRY_SIZE;
 
-         /* We also need to make an entry in the .got.plt section.  */
+         /* We also need to make an entry in the .got.plt section, which
+            will be placed in the .got section by the linker script.  */
          htab->elf.sgotplt->size += GOT_ENTRY_SIZE;
 
          /* We also need to make an entry in the .rela.plt section.  */
This page took 0.023448 seconds and 4 git commands to generate.