163d1a8abSmrg/* Force linking of classes required by Objective C runtime. 2*ec02198aSmrg Copyright (C) 1997-2020 Free Software Foundation, Inc. 363d1a8abSmrg Contributed by Ovidiu Predescu (ovidiu@net-community.com). 463d1a8abSmrg 563d1a8abSmrgThis file is part of GCC. 663d1a8abSmrg 763d1a8abSmrgGCC is free software; you can redistribute it and/or modify 863d1a8abSmrgit under the terms of the GNU General Public License as published by 963d1a8abSmrgthe Free Software Foundation; either version 3, or (at your option) 1063d1a8abSmrgany later version. 1163d1a8abSmrg 1263d1a8abSmrgGCC is distributed in the hope that it will be useful, 1363d1a8abSmrgbut WITHOUT ANY WARRANTY; without even the implied warranty of 1463d1a8abSmrgMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1563d1a8abSmrgGNU General Public License for more details. 1663d1a8abSmrg 1763d1a8abSmrgUnder Section 7 of GPL version 3, you are granted additional 1863d1a8abSmrgpermissions described in the GCC Runtime Library Exception, version 1963d1a8abSmrg3.1, as published by the Free Software Foundation. 2063d1a8abSmrg 2163d1a8abSmrgYou should have received a copy of the GNU General Public License and 2263d1a8abSmrga copy of the GCC Runtime Library Exception along with this program; 2363d1a8abSmrgsee the files COPYING3 and COPYING.RUNTIME respectively. If not, see 2463d1a8abSmrg<http://www.gnu.org/licenses/>. */ 2563d1a8abSmrg 2663d1a8abSmrg#include "objc-private/common.h" 2763d1a8abSmrg#include <objc/Object.h> 2863d1a8abSmrg 2963d1a8abSmrg/* Generate references to Object class since it is needed by the 3063d1a8abSmrg runtime system to run correctly. */ 3163d1a8abSmrg 3263d1a8abSmrgvoid __objc_linking (void) 3363d1a8abSmrg{ 3463d1a8abSmrg [Object class]; 3563d1a8abSmrg} 3663d1a8abSmrg 37