libgo: fix improperly mangled linker symbol directive
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 26 Oct 2018 16:53:24 +0000 (16:53 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 26 Oct 2018 16:53:24 +0000 (16:53 +0000)
    Fix asm name directive for the C version of log/syslog.syslog_c,
    which didn't get included in the recent name mangling change.

    Reviewed-on: https://go-review.googlesource.com/c/145017

From-SVN: r265533

gcc/go/gofrontend/MERGE
libgo/go/log/syslog/syslog_c.c

index ada5f3f731dc520c484021d3a065c55e7fd65ef3..ef6ce579423ba6fbf3255a7e829f097aa70353d9 100644 (file)
@@ -1,4 +1,4 @@
-0a58bd7d820dac8931e8da5b291f19c3c7e6bee3
+ad50884d2a4b653f7f20edc8b441fe6ad6570d55
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index 5b33d78288b95ee4d34c8beef1541d8987906b2f..36e76942ba93a40efb8170c08d65160774a59b3a 100644 (file)
@@ -12,7 +12,7 @@
    can't represent a C varargs function in Go.  */
 
 void syslog_c(intgo, const char*)
-  __asm__ (GOSYM_PREFIX "log_syslog.syslog_c");
+  __asm__ (GOSYM_PREFIX "log..z2fsyslog.syslog_c");
 
 void
 syslog_c (intgo priority, const char *msg)