]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: combine Pcrel and Comefrom
authorJosh Bleecher Snyder <josharian@gmail.com>
Fri, 29 May 2015 17:37:11 +0000 (10:37 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Sat, 30 May 2015 05:06:04 +0000 (05:06 +0000)
commitc04813e130eea824428deba5242e4fba26538078
tree5b620d2d6c6676573e5b14fea1b6ce17c2be821f
parent4ed7d06a872a6fdaf2a232e794baff747834891b
cmd/internal/obj: combine Pcrel and Comefrom

They're each architecture-specific.
Let them share.

Reduces Prog size to 288, which is the
next smaller malloc class.

Reduces inuse_space while compiling the
rotate tests by ~3.2%.

Change-Id: Ica8ec90e466c97b569745fffff0e5acd364e55fa
Reviewed-on: https://go-review.googlesource.com/10514
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/internal/obj/arm/asm5.go
src/cmd/internal/obj/arm/obj5.go
src/cmd/internal/obj/link.go
src/cmd/internal/obj/x86/asm6.go