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

Diff for /src/usr.bin/nm/nm.c between version 1.40 and 1.41

version 1.40, 2013/11/26 13:19:07 version 1.41, 2014/04/28 18:49:28
Line 54 
Line 54 
   
 #define SYMTABMAG       "/ "  #define SYMTABMAG       "/ "
 #define STRTABMAG       "//"  #define STRTABMAG       "//"
   #define SYM64MAG        "/SYM64/         "
   
 union hdr {  union hdr {
         Elf32_Ehdr elf32;          Elf32_Ehdr elf32;
Line 535 
Line 536 
                         if (issize || !armap || !symtablen || !symtaboff)                          if (issize || !armap || !symtablen || !symtaboff)
                                 goto skip;                                  goto skip;
                 }                  }
   #ifdef __mips64
                   else if (memcmp(ar_head.ar_name, SYM64MAG,
                       sizeof(ar_head.ar_name)) == 0) {
                           /* IRIX6-compatible archive map */
                           goto skip;
                   }
   #endif
   
                 if (!issize && armap && symtablen && symtaboff) {                  if (!issize && armap && symtablen && symtaboff) {
                         if (show_symtab(symtaboff, symtablen, fname, fp)) {                          if (show_symtab(symtaboff, symtablen, fname, fp)) {

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41