@@ -2180,7 +2180,7 @@
rm -f syscall.gox syscalls/libsyscall.a
test -d syscalls || mkdir -p syscalls
files=`echo $^ | sed -e 's/[^ ]*\.gox//g' -e's/[^ ]*\.c//g'`; \
- $(LTGOCOMPILE) -c -fgo-prefix="libgo__" -o syscalls/syscall.o $$files
+ $(LTGOCOMPILE) -c -fgo-prefix="libgo_syscalls" -o syscalls/syscall.o $$files
$(LTCOMPILE) -c -o syscalls/errno.o $(srcdir)/syscalls/errno.c
$(AR) rc syscalls/libsyscall.a syscalls/syscall.o syscalls/errno.o
syscalls/libsyscall.la: syscalls/libsyscall.a
@@ -9,8 +9,8 @@
/* errno is typically a macro. These functions set
and get errno specific to the libc being used. */
-int GetErrno() asm ("libgo__.syscall.GetErrno");
-void SetErrno(int) asm ("libgo__.syscall.SetErrno");
+int GetErrno() asm ("libgo_syscalls.syscall.GetErrno");
+void SetErrno(int) asm ("libgo_syscalls.syscall.SetErrno");
int
GetErrno()