[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.4 and 1.5

version 1.4, 2004/03/30 15:29:44 version 1.5, 2004/03/30 15:35:51
Line 180 
Line 180 
                         } else if (!strcmp(sn, ELF_DATA))                          } else if (!strcmp(sn, ELF_DATA))
                                 np->n_type = N_DATA;                                  np->n_type = N_DATA;
                         else if (!strcmp(sn, ELF_BSS))                          else if (!strcmp(sn, ELF_BSS))
                                 np->n_type = N_BSS | N_EXT;                                  np->n_type = N_BSS;
                         else if (!strcmp(sn, ELF_SBSS))                          else if (!strcmp(sn, ELF_SBSS))
                                 np->n_type = N_BSS;                                  np->n_type = N_BSS;
                         else                          else
Line 211 
Line 211 
                 else if (!strcmp(sn, ELF_SBSS))                  else if (!strcmp(sn, ELF_SBSS))
                         np->n_type = N_BSS;                          np->n_type = N_BSS;
                 else if (!strcmp(sn, ELF_BSS))                  else if (!strcmp(sn, ELF_BSS))
                         np->n_type = N_BSS | N_EXT;                          np->n_type = N_BSS;
                 else if (!strcmp(sn, ELF_RODATA))                  else if (!strcmp(sn, ELF_RODATA))
                         np->n_other = 'r';                          np->n_other = 'r';
                 break;                  break;

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