Skip to content

Commit 45b43f6

Browse files
labogerbradfitz
authored andcommitted
cmd/objdump: updates from golang.org/x/arch/ppc64/ppc64asm
Update the ppc64x disassembly code for use by objdump from golang.org/x/arch/ppc64/ppc64asm commit fcea5ea. Enable the objdump testcase for external linking on ppc64le make a minor fix to the expected output. Fixes #17447 Change-Id: I769cc7f8bfade594690a476dfe77ab33677ac03b Reviewed-on: https://go-review.googlesource.com/32015 Run-TryBot: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent a850dbd commit 45b43f6

File tree

9 files changed

+259
-205
lines changed

9 files changed

+259
-205
lines changed

src/cmd/objdump/objdump_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ var ppcNeed = []string{
5454
"fmthello.go:6",
5555
"TEXT main.main(SB)",
5656
"BR main.main(SB)",
57-
"BL fmt.Println(SB)",
57+
"CALL fmt.Println(SB)",
5858
"RET",
5959
}
6060

@@ -143,7 +143,7 @@ func TestDisasmExtld(t *testing.T) {
143143
t.Skipf("skipping on %s", runtime.GOOS)
144144
}
145145
switch runtime.GOARCH {
146-
case "ppc64", "ppc64le":
146+
case "ppc64":
147147
t.Skipf("skipping on %s, no support for external linking, issue 9038", runtime.GOARCH)
148148
case "arm64":
149149
t.Skipf("skipping on %s, issue 10106", runtime.GOARCH)

src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/decode.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/ext_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/inst.go

Lines changed: 68 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/objdump_test.go

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/objdumpext_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/plan9.go

Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)