On 6/22/23 6:37 PM, Peter Bergner via Gcc-patches wrote: > On 6/16/23 12:01 PM, Ian Lance Taylor via Gcc-patches wrote: >> On Fri, Jun 16, 2023 at 9:00 AM Paul E. Murphy via Gcc-patches >> <gcc-patches@gcc.gnu.org> wrote: >>> >>> TARGET_AIX is defined to a non-zero value on linux and maybe other >>> powerpc64le targets. This leads to unexpected behavior such as >>> dropping the .go_export section when linking a shared library >>> on linux/powerpc64le. >>> >>> Instead, use TARGET_AIX_OS to toggle AIX specific behavior. >>> >>> Fixes golang/go#60798. >>> >>> gcc/go/ChangeLog: >>> >>> * go-backend.cc [TARGET_AIX]: Rename and update usage to >>> TARGET_AIX_OS. >>> * go-lang.cc: Likewise. >> >> This is OK. >> >> Thanks. >> >> Ian > > I pushed this to trunk for Paul.
I see this is broken on the release branches too. Are backports ok after some burn-in on trunk? Peter