From: Ian Lance Taylor Date: Fri, 1 Feb 2013 05:49:14 +0000 (+0000) Subject: runtime: Correct test for morestack.S. X-Git-Tag: misc/gccgo-go1_1_2~14^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1948282e8038f305351d51bb5450353d331dd3e;p=thirdparty%2Fgcc.git runtime: Correct test for morestack.S. From-SVN: r195640 --- diff --git a/libgo/runtime/go-callers.c b/libgo/runtime/go-callers.c index c20dbf356104..9afba62cc992 100644 --- a/libgo/runtime/go-callers.c +++ b/libgo/runtime/go-callers.c @@ -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; }