]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Objective-C, NeXT ABI] Identify V2 IVAR refs by metadata.
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Oct 2019 19:04:33 +0000 (19:04 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Oct 2019 19:04:33 +0000 (19:04 +0000)
commitfd94ab41a5e2b3fe87df7864cd602021515228f6
tree5c45bb0827a72450841153743607a532a3218d43
parent93cef6558b98faaee6a735e30e694b44a8532b1a
[Objective-C, NeXT ABI]  Identify V2 IVAR refs by metadata.

For the NeXT 64b ABI, IVAR refs are supposed to be indirected for
Mach-O PIC.  Identify them so that we can act as needed.

gcc/objc/ChangeLog:

2019-10-10  Iain Sandoe  <iain@sandoe.co.uk>

* objc-next-metadata-tags.h (OCTI_RT_META_IVAR_REF): New.
(meta_ivar_ref): New.
* objc-next-runtime-abi-02.c
(next_runtime_abi_02_init_metadata_attributes): Create the
IVAR ref metadata identifier.
(ivar_offset_ref): Tag IVAR refs with specific metadata.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276847 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/objc/ChangeLog
gcc/objc/objc-next-metadata-tags.h
gcc/objc/objc-next-runtime-abi-02.c