]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/x86: don't apply workaround for solaris to darwin
authorHiroshi Ioka <hirochachacha@gmail.com>
Sat, 5 Aug 2017 11:03:32 +0000 (20:03 +0900)
committerIan Lance Taylor <iant@golang.org>
Thu, 17 Aug 2017 00:43:00 +0000 (00:43 +0000)
commit0d65cd6c1c2b9bebb461e34b365e2de8ed375592
treea47033f0d83d5411db1587b5b17ba187ea281fd1
parent78984d3954a60f446d04c796f9c22e073f07cbd3
cmd/internal/obj/x86: don't apply workaround for solaris to darwin

Currently, we have a workaround for solaris that enforce aboslute
addressing for external symbols. However, We don't want to use the
workaround for darwin.
This CL also refactors code a little bit, because the original function
name is not appropriate now.

Updates #17490

Change-Id: Id21f9cdf33dca6a40647226be49010c2c324ee24
Reviewed-on: https://go-review.googlesource.com/54871
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/internal/obj/x86/asm6.go