]> Cypherpunks repositories - gostls13.git/commit
Revert "cmd/compile: enable address folding for global symbols of shared library"
authorCherry Mui <cherryyz@google.com>
Tue, 7 Mar 2023 18:23:40 +0000 (18:23 +0000)
committerCherry Mui <cherryyz@google.com>
Tue, 7 Mar 2023 20:02:57 +0000 (20:02 +0000)
commita4cf4fde466035e6a485c29bd12450d51bc7d4e1
treeedcae5f368ffcaff5e6792d6d88c538d37987df0
parentc80b9912e65cc6b8f0109614ac610705feda0ed9
Revert "cmd/compile: enable address folding for global symbols of shared library"

This reverts CL 445535.

Reason for revert: see issue #58826. It doesn't handle large offset well.

Fixes #58826.

Change-Id: Ic4a33f4c510c88628ea7e16207a60977a04cf798
Reviewed-on: https://go-review.googlesource.com/c/go/+/474175
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@google.com>
src/cmd/compile/internal/ssa/_gen/ARM64.rules
src/cmd/compile/internal/ssa/rewriteARM64.go