home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / diffs / binutils.2 / gprof / gprof.c < prev    next >
Encoding:
Text File  |  1993-11-28  |  702 b   |  32 lines

  1. *** orig/binutils.2/gprof/gprof.c    Fri Jun 25 22:26:46 1993
  2. --- src/binutils.2/gprof/gprof.c    Fri Jun 25 22:30:08 1993
  3. ***************
  4. *** 371,377 ****
  5.       struct hdr    tmp;
  6.       FILE    *pfile;
  7.   
  8. !     if((pfile = fopen(filename, "r")) == NULL) {
  9.       perror(filename);
  10.       done();
  11.       }
  12. --- 371,377 ----
  13.       struct hdr    tmp;
  14.       FILE    *pfile;
  15.   
  16. !     if((pfile = fopen(filename, "rb")) == NULL) {
  17.       perror(filename);
  18.       done();
  19.       }
  20. ***************
  21. *** 704,709 ****
  22. --- 704,712 ----
  23.         return FALSE;
  24.       }
  25.     }
  26. +   
  27. +   if (strncmp(symp->name, "___gnu_compiled", 15) == 0)
  28. +     return FALSE;
  29.   
  30.     i = bfd_decode_symclass (symp);
  31.   #if defined(DEBUG) && 0
  32.