]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: add opcode space safety check
authorJosh Bleecher Snyder <josharian@gmail.com>
Fri, 17 Jun 2016 19:28:31 +0000 (12:28 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 16 Aug 2016 20:26:16 +0000 (20:26 +0000)
commit0cd8faf74494f400d278b9b0071908951bea6f40
tree29aaa5f0f39a30196e8a9fdff75de3d9004939d1
parent496174e32e8983f46c6178cab250ea08f4d89dd2
cmd/internal/obj: add opcode space safety check

This CL adds a safety mechanism
for changing the number of opcodes
available per architecture.

A subsequent CL will actually make the change.

Change-Id: I6332ed5514f2f153c54d11b7da0cc8a6be1c8066
Reviewed-on: https://go-review.googlesource.com/24222
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/internal/obj/link.go
src/cmd/internal/obj/util.go