From bcbde431aa4366da18ac1687afb0bef6e4072d49 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 22 Nov 2020 16:01:14 -0800 Subject: [PATCH] log/syslog: correct asm name for C function Patch from Rainer Orth. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/272259 --- 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 37374d55853..3e94dabcd30 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -36a7b789130b415c2fe7f8e3fc62ffbca265e3aa +78c9a657fdbc9e812d39910fb93fbae4affe4360 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 329df404efd..acfee6e2bc5 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_1syslog.syslog_c"); + __asm__ (GOSYM_PREFIX "log_1syslog.syslog__c"); void syslog_c (intgo priority, const char *msg) -- 2.30.2