From 7def10f11a2cf6bab98286e072619b3e8170deb0 Mon Sep 17 00:00:00 2001 From: ian Date: Mon, 14 May 2012 22:09:21 +0000 Subject: libgo: Use -fgo-pkgpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187486 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgo/go/bytes/indexbyte.c | 4 +-- libgo/go/encoding/xml/marshal_test.go | 2 +- libgo/go/html/template/escape_test.go | 2 +- libgo/go/reflect/all_test.go | 2 +- libgo/go/regexp/all_test.go | 3 ++- libgo/go/regexp/exec_test.go | 22 +++++++++-------- libgo/go/regexp/export_test.go | 15 ++++++++++++ libgo/go/regexp/find_test.go | 4 ++- libgo/go/sync/atomic/atomic.c | 46 +++++++++++++++++------------------ libgo/go/syscall/errno.c | 4 +-- libgo/go/syscall/signame.c | 2 +- libgo/go/syscall/wait.c | 18 +++++++------- 12 files changed, 72 insertions(+), 52 deletions(-) create mode 100644 libgo/go/regexp/export_test.go (limited to 'libgo/go') diff --git a/libgo/go/bytes/indexbyte.c b/libgo/go/bytes/indexbyte.c index 8213b3e3442..8986d1056e0 100644 --- a/libgo/go/bytes/indexbyte.c +++ b/libgo/go/bytes/indexbyte.c @@ -13,7 +13,7 @@ library function, which shouldn't need much stack space. */ int IndexByte (struct __go_open_array, char) - asm ("libgo_bytes.bytes.IndexByte") + asm ("bytes.IndexByte") __attribute__ ((no_split_stack)); int @@ -30,7 +30,7 @@ IndexByte (struct __go_open_array s, char b) /* Comparison. */ _Bool Equal (struct __go_open_array a, struct __go_open_array b) - asm ("libgo_bytes.bytes.Equal") + asm ("bytes.Equal") __attribute__ ((no_split_stack)); _Bool diff --git a/libgo/go/encoding/xml/marshal_test.go b/libgo/go/encoding/xml/marshal_test.go index b6978a1e65b..6f0ecfc233b 100644 --- a/libgo/go/encoding/xml/marshal_test.go +++ b/libgo/go/encoding/xml/marshal_test.go @@ -726,7 +726,7 @@ var marshalErrorTests = []struct { }, { Value: map[*Ship]bool{nil: false}, - Err: "xml: unsupported type: map[*xml.Ship]bool", + Err: "xml: unsupported type: map[*encoding/xml.Ship]bool", Kind: reflect.Map, }, { diff --git a/libgo/go/html/template/escape_test.go b/libgo/go/html/template/escape_test.go index ce12c1795c2..6670be9a195 100644 --- a/libgo/go/html/template/escape_test.go +++ b/libgo/go/html/template/escape_test.go @@ -226,7 +226,7 @@ func TestEscape(t *testing.T) { { "badMarshaler", `