]> Cypherpunks repositories - gostls13.git/commitdiff
debug/plan9obj: fix test build
authorAram Hăvărneanu <aram@mgk.ro>
Wed, 9 Jul 2014 10:48:55 +0000 (12:48 +0200)
committerAram Hăvărneanu <aram@mgk.ro>
Wed, 9 Jul 2014 10:48:55 +0000 (12:48 +0200)
LGTM=0intro, dave
R=dave, 0intro
CC=golang-codereviews
https://golang.org/cl/106560044

src/pkg/debug/plan9obj/file_test.go

index 96186d815651872c84d1c63f3bf863b9751ce46d..cfd7a61d1cdff79d8752665ebc84af0c55be4530 100644 (file)
@@ -18,7 +18,7 @@ type fileTest struct {
 var fileTests = []fileTest{
        {
                "testdata/386-plan9-exec",
-               FileHeader{Magic386, 0x324, 0x14, 4},
+               FileHeader{Magic386, 0x324, 0x14, 4, 0x1000, 32},
                []*SectionHeader{
                        {"text", 0x4c5f, 0x20},
                        {"data", 0x94c, 0x4c7f},
@@ -29,7 +29,7 @@ var fileTests = []fileTest{
        },
        {
                "testdata/amd64-plan9-exec",
-               FileHeader{MagicAMD64, 0x618, 0x13, 8},
+               FileHeader{MagicAMD64, 0x618, 0x13, 8, 0x200000, 40},
                []*SectionHeader{
                        {"text", 0x4213, 0x28},
                        {"data", 0xa80, 0x423b},