diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2024-04-30 15:11:56 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2024-05-02 13:46:37 +0100 |
commit | 9b5c0be59d0f94df0517820f00b4520b5abddd8c (patch) | |
tree | ffe58e7d9388367be5c5cc211bbf81ccb5fc3e9d /gcc/gimple-predicate-analysis.cc | |
parent | 43dc4302b4181535d24e83759514b774ae4dbfcc (diff) | |
download | gcc-9b5c0be59d0f94df0517820f00b4520b5abddd8c.zip gcc-9b5c0be59d0f94df0517820f00b4520b5abddd8c.tar.gz gcc-9b5c0be59d0f94df0517820f00b4520b5abddd8c.tar.bz2 |
Objective-C, NeXT, v2: Correct a regression in code-gen.
There have been several changes in the ABI of Objective-C which
depend on the OS version targetted. In this case Protocols and
LabelProtocols should be made weak/hidden/extern from macOS 10.7
however there was a mistake in the code causing this to occur
from macOS 10.6. Fixed thus.
gcc/objc/ChangeLog:
* objc-next-runtime-abi-02.cc (WEAK_PROTOCOLS_AFTER): New.
(next_runtime_abi_02_protocol_decl): Use WEAK_PROTOCOLS_AFTER
to determine this ABI change.
(build_v2_protocol_list_address_table): Likewise.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'gcc/gimple-predicate-analysis.cc')
0 files changed, 0 insertions, 0 deletions