[BACK]Return to elf.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / nm

Diff for /src/usr.bin/nm/elf.c between version 1.20 and 1.21

version 1.20, 2011/09/28 19:58:14 version 1.21, 2013/03/30 21:26:09
Line 341 
Line 341 
 #if 0  #if 0
         {          {
                 extern char *stab;                  extern char *stab;
                 printf("%d:%s %d %s\n", sym->st_shndx, sn? sn : "",                  printf("%d:%s %d %d %s\n", sym->st_shndx, sn? sn : "",
                     ELF_ST_TYPE(sym->st_info), stab + sym->st_name);                      ELF_ST_TYPE(sym->st_info), ELF_ST_BIND(sym->st_info),
                       stab + sym->st_name);
         }          }
 #endif  #endif
   
Line 364 
Line 365 
                         } else                          } else
                                 np->n_type = type;                                  np->n_type = type;
                 }                  }
                   if (ELF_ST_BIND(sym->st_info) == STB_WEAK)
                           np->n_other = 'W';
                 break;                  break;
   
         case STT_FUNC:          case STT_FUNC:

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21