diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-10-26 16:53:24 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-10-26 16:53:24 +0000 |
commit | 797ea25427efeb91e73dc2e3e8c55f17de07c005 (patch) | |
tree | 97304d33342f61a893d85db3d4edc8f01ae00892 | |
parent | 4fa008a718f06108a3ddc06200c7947e0212075c (diff) | |
download | gcc-797ea25427efeb91e73dc2e3e8c55f17de07c005.zip gcc-797ea25427efeb91e73dc2e3e8c55f17de07c005.tar.gz gcc-797ea25427efeb91e73dc2e3e8c55f17de07c005.tar.bz2 |
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
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 | ||||
-rw-r--r-- | 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 ada5f3f..ef6ce57 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 5b33d78..36e7694 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) |