Fixed exported names, removed a bad define
[deliverable/binutils-gdb.git] / bfd / elflink.h
index 283d0c75983ca8166c0aa86cdf0f57645d9a9fa1..c656ac12303585efa36ab13fbfdef92b18432abc 100644 (file)
@@ -868,8 +868,7 @@ elf_link_add_object_symbols (abfd, info)
 
          h = *hpp;
          if (h != NULL && h != hlook
-             && (h->root.type == bfd_link_hash_defined
-                 || h->root.type == bfd_link_hash_defweak)
+             && h->root.type == bfd_link_hash_defined
              && h->root.u.def.section == slook
              && h->root.u.def.value == vlook)
            {
@@ -3172,8 +3171,8 @@ elf_create_pointer_linker_section (abfd, info, lsect, h, rel)
            return false;
        }
 
-      BFD_ASSERT (lsect->rel_section != NULL);
-      lsect->rel_section->_raw_size += sizeof (Elf_External_Rela);
+      if (lsect->rel_section)
+       lsect->rel_section->_raw_size += sizeof (Elf_External_Rela);
     }
 
   else  /* Allocation of a pointer to a local symbol */
This page took 0.023976 seconds and 4 git commands to generate.