]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
authorIan Lance Taylor <ian@airs.com>
Tue, 30 Aug 1994 15:15:09 +0000 (15:15 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 30 Aug 1994 15:15:09 +0000 (15:15 +0000)
__gnu_compiled, for the benefit of systems which add a leading
underscore.

gprof/ChangeLog
gprof/gprof.c

index a67de9edb41691f69ef0b3ffa71a6217cb4002ec..39a600595c5f727a91952105ef63840bccf57aea 100644 (file)
@@ -1,3 +1,9 @@
+Tue Aug 30 11:12:13 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
+       __gnu_compiled, for the benefit of systems which add a leading
+       underscore.
+
 Wed Aug 24 12:49:13 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
 
        * configure.in: Change i386-*-* to i[345]86-*-*.
index 301da696683359ee97274b32fdc0cea9198ff5e8..15eb7fd6ee10f3198445ce7c159760371763dad3 100644 (file)
@@ -777,7 +777,8 @@ funcsymbol( symp )
       /* Gcc may add special symbols to help gdb figure out the file
         language.  We want to ignore these, since sometimes they
         mask the real function.  (dj@ctron)  */
-      || !strncmp (symp->name, "__gnu_compiled", 14))
+      || !strncmp (symp->name, "__gnu_compiled", 14)
+      || !strncmp (symp->name, "___gnu_compiled", 15))
     return FALSE;
 
   return TRUE;