runtime: Correct test for morestack.S.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 1 Feb 2013 05:49:14 +0000 (05:49 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 1 Feb 2013 05:49:14 +0000 (05:49 +0000)
From-SVN: r195640

libgo/runtime/go-callers.c

index c20dbf356104eb0c227c786289f2f200c47d6f6b..9afba62cc992a2359436cdec2fe1f30661f0cc16 100644 (file)
@@ -49,7 +49,7 @@ callback (void *data, uintptr_t pc, const char *filename, int lineno,
       p = strrchr (filename, '/');
       if (p == NULL)
        p = filename;
-      if (__builtin_strncmp (p, "morestack.S", 11) == 0)
+      if (__builtin_strncmp (p, "/morestack.S", 12) == 0)
        return 0;
     }