Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > As of today, all Go link tests were failing like this: > > Undefined first referenced > symbol in file > log_syslog.syslog_c > /var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/. > FAIL: go.go-torture/execute/array-1.go compilation, -O0 > > The symbol is referenced in log/syslog.o, but not defined anywhere. It > turned out that this happens because an asm() in > go/log/syslog/syslog_c.c hasn't been updated. > > The following patch fixes this and allowed the go and libgo tests to > pass as expected on i386-pc-solaris2.11.
Thanks. Committed to mainline and 4.7 branch. Ian