As no one call call the class methods of Objc directly, they should be marked as hidden so that they bind locally in a shared library.
-- Summary: Class methods should be marked as hidden Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: objc AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30461