From f3ab5720f7ce7835a905e6783b5b6720676331fb Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 14 May 2012 22:08:42 +0000 Subject: libgo: Use -fgo-pkgpath. From-SVN: r187485 --- 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 8213b3e..8986d10 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 b6978a1..6f0ecfc 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 ce12c17..6670be9 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", `