]> Cypherpunks repositories - gostls13.git/commitdiff
debug/elf: rename test .o files to .obj
authorGustavo Niemeyer <gustavo@niemeyer.net>
Tue, 14 Jun 2011 18:06:39 +0000 (15:06 -0300)
committerGustavo Niemeyer <gustavo@niemeyer.net>
Tue, 14 Jun 2011 18:06:39 +0000 (15:06 -0300)
.o files are commonly found in default ignore lists by
source management tools, including dpkg-source, bzr, etc.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4568078

src/pkg/debug/elf/file_test.go
src/pkg/debug/elf/testdata/go-relocation-test-gcc424-x86-64.obj [moved from src/pkg/debug/elf/testdata/go-relocation-test-gcc424-x86-64.o with 100% similarity]
src/pkg/debug/elf/testdata/go-relocation-test-gcc441-x86-64.obj [moved from src/pkg/debug/elf/testdata/go-relocation-test-gcc441-x86-64.o with 100% similarity]
src/pkg/debug/elf/testdata/go-relocation-test-gcc441-x86.obj [moved from src/pkg/debug/elf/testdata/go-relocation-test-gcc441-x86.o with 100% similarity]

index 84068ea12a61cbf4ce8072711bc0caad82a4eb54..37f62796e720ea0d8ad45f918a5f945b31c08fb5 100644 (file)
@@ -136,15 +136,15 @@ type relocationTest struct {
 
 var relocationTests = []relocationTest{
        {
-               "testdata/go-relocation-test-gcc441-x86-64.o",
+               "testdata/go-relocation-test-gcc441-x86-64.obj",
                &dwarf.Entry{Offset: 0xb, Tag: dwarf.TagCompileUnit, Children: true, Field: []dwarf.Field{{Attr: dwarf.AttrProducer, Val: "GNU C 4.4.1"}, {Attr: dwarf.AttrLanguage, Val: int64(1)}, {Attr: dwarf.AttrName, Val: "go-relocation-test.c"}, {Attr: dwarf.AttrCompDir, Val: "/tmp"}, {Attr: dwarf.AttrLowpc, Val: uint64(0x0)}, {Attr: dwarf.AttrHighpc, Val: uint64(0x6)}, {Attr: dwarf.AttrStmtList, Val: int64(0)}}},
        },
        {
-               "testdata/go-relocation-test-gcc441-x86.o",
+               "testdata/go-relocation-test-gcc441-x86.obj",
                &dwarf.Entry{Offset: 0xb, Tag: dwarf.TagCompileUnit, Children: true, Field: []dwarf.Field{{Attr: dwarf.AttrProducer, Val: "GNU C 4.4.1"}, {Attr: dwarf.AttrLanguage, Val: int64(1)}, {Attr: dwarf.AttrName, Val: "t.c"}, {Attr: dwarf.AttrCompDir, Val: "/tmp"}, {Attr: dwarf.AttrLowpc, Val: uint64(0x0)}, {Attr: dwarf.AttrHighpc, Val: uint64(0x5)}, {Attr: dwarf.AttrStmtList, Val: int64(0)}}},
        },
        {
-               "testdata/go-relocation-test-gcc424-x86-64.o",
+               "testdata/go-relocation-test-gcc424-x86-64.obj",
                &dwarf.Entry{Offset: 0xb, Tag: dwarf.TagCompileUnit, Children: true, Field: []dwarf.Field{{Attr: dwarf.AttrProducer, Val: "GNU C 4.2.4 (Ubuntu 4.2.4-1ubuntu4)"}, {Attr: dwarf.AttrLanguage, Val: int64(1)}, {Attr: dwarf.AttrName, Val: "go-relocation-test-gcc424.c"}, {Attr: dwarf.AttrCompDir, Val: "/tmp"}, {Attr: dwarf.AttrLowpc, Val: uint64(0x0)}, {Attr: dwarf.AttrHighpc, Val: uint64(0x6)}, {Attr: dwarf.AttrStmtList, Val: int64(0)}}},
        },
 }