[BACK]Return to kern_ksyms.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

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

Diff for /src/sys/kern/kern_ksyms.c between version 1.5 and 1.6

version 1.5, 2003/05/01 20:46:20 version 1.6, 2003/05/02 09:19:51
Line 195  addsymtab(char *name, Elf_Ehdr *ehdr, st
Line 195  addsymtab(char *name, Elf_Ehdr *ehdr, st
                 if (sym[i].st_name == 0)                  if (sym[i].st_name == 0)
                         continue;                          continue;
                 j = strlen(sym[i].st_name + tab->sd_strstart) + 1;                  j = strlen(sym[i].st_name + tab->sd_strstart) + 1;
   #if NKSYMS
                 if (j > ksyms_maxlen)                  if (j > ksyms_maxlen)
                         ksyms_maxlen = j;                          ksyms_maxlen = j;
   #endif
         }          }
   
         CIRCLEQ_INSERT_HEAD(&symtab_queue, tab, sd_queue);          CIRCLEQ_INSERT_HEAD(&symtab_queue, tab, sd_queue);
Line 407  addsym(Elf_Sym *sym, char *name)
Line 409  addsym(Elf_Sym *sym, char *name)
         savedsyms[cursyms] = *sym;          savedsyms[cursyms] = *sym;
         symnmoff[cursyms] = savedsyms[cursyms].st_name = curnamep;          symnmoff[cursyms] = savedsyms[cursyms].st_name = curnamep;
         curnamep += len;          curnamep += len;
   #ifdef KSYMS_DEBUG
         if (len > ksyms_maxlen)          if (len > ksyms_maxlen)
                 ksyms_maxlen = len;                  ksyms_maxlen = len;
   #endif
         cursyms++;          cursyms++;
 }  }
 /*  /*

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

CVSweb <webmaster@jp.NetBSD.org>