From 797ea25427efeb91e73dc2e3e8c55f17de07c005 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 26 Oct 2018 16:53:24 +0000 Subject: [PATCH] libgo: fix improperly mangled linker symbol directive 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 | 2 +- libgo/go/log/syslog/syslog_c.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index ada5f3f731d..ef6ce579423 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -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. diff --git a/libgo/go/log/syslog/syslog_c.c b/libgo/go/log/syslog/syslog_c.c index 5b33d78288b..36e76942ba9 100644 --- a/libgo/go/log/syslog/syslog_c.c +++ b/libgo/go/log/syslog/syslog_c.c @@ -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) -- 2.30.2