This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Darwin, machopic 4/n, committed] Arrange to indirect IVARs when needed.
- From: Mike Stump <mikestump at comcast dot net>
- To: Iain Sandoe <iain at sandoe dot co dot uk>
- Cc: GCC-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 11 Oct 2019 10:40:33 -0700
- Subject: Re: [Darwin, machopic 4/n, committed] Arrange to indirect IVARs when needed.
- References: <B120C65B-591E-49A0-B4BD-E60935A5FBD0@sandoe.co.uk>
On Oct 10, 2019, at 12:25 PM, Iain Sandoe <iain@sandoe.co.uk> wrote:
>
> Objective C V2 (m64) IVAR offset refs from Apple GCC-4.x have an indirection
> for m64 code on PPC (which is the only 64b user for Mach-O PIC). Apple GCC
> 4.x places the indirections in the .data section, however this seems to have
> been unintentional - and we are placing the indirections in the non-lazy
> symbol pointers section as usual.
>
> If Mike can recall any reason that they should be in the .data section, we can
> revise that - but testing hasn’t revealed any issues so far.
Don't recall any reason.