https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69179
Bug ID: 69179 Summary: undocumented darwin attributes "apple_kext_compatibility" and "weak_import" Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sandra at gcc dot gnu.org Target Milestone: --- config/darwin.c defines attributes "apple_kext_compatibility" and "weak_import" which have no documentation in the GCC manual. "apple_kext_compatibility" seems related to the also-undocumented -fapple-kext command-line option (see PR 62273). Reading the code, I'm wondering if a feature intended to provide backwards compatibility with GCC 2.95 is even relevant to modern versions of Darwin, or whether this might be a candidate for deletion as obsolete. "weak_import" seems related to the normal "weak" attribute, but just from reading the code I cannot figure out how to explain the difference in a concise but user-friendly way. Can a Darwin expert help fill in the missing docs?