[BACK]Return to reloc.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / libexec / ld.elf_so

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/libexec/ld.elf_so/reloc.c between version 1.115 and 1.116

version 1.115, 2020/02/29 04:23:05 version 1.116, 2020/02/29 04:24:33
Line 174  _rtld_relocate_objects(Obj_Entry *first,
Line 174  _rtld_relocate_objects(Obj_Entry *first,
         int ok = 1;          int ok = 1;
   
         for (obj = first; obj != NULL; obj = obj->next) {          for (obj = first; obj != NULL; obj = obj->next) {
                 if (obj->nbuckets == 0 || obj->nchains == 0 ||                  if ((!obj->sysv_hash && !obj->gnu_hash) ||
                     obj->buckets == NULL || obj->symtab == NULL ||                      obj->symtab == NULL || obj->strtab == NULL) {
                     obj->strtab == NULL) {  
                         _rtld_error("%s: Shared object has no run-time"                          _rtld_error("%s: Shared object has no run-time"
                             " symbol table", obj->path);                              " symbol table", obj->path);
                         return -1;                          return -1;

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.116

CVSweb <webmaster@jp.NetBSD.org>