163d1a8abSmrg /* RL78 C-specific support 2*ec02198aSmrg Copyright (C) 2011-2020 Free Software Foundation, Inc. 363d1a8abSmrg Contributed by Red Hat, Inc. 463d1a8abSmrg 563d1a8abSmrg This file is part of GCC. 663d1a8abSmrg 763d1a8abSmrg GCC is free software; you can redistribute it and/or modify 863d1a8abSmrg it under the terms of the GNU General Public License as published by 963d1a8abSmrg the Free Software Foundation; either version 3, or (at your option) 1063d1a8abSmrg any later version. 1163d1a8abSmrg 1263d1a8abSmrg GCC is distributed in the hope that it will be useful, 1363d1a8abSmrg but WITHOUT ANY WARRANTY; without even the implied warranty of 1463d1a8abSmrg MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1563d1a8abSmrg GNU General Public License for more details. 1663d1a8abSmrg 1763d1a8abSmrg You should have received a copy of the GNU General Public License 1863d1a8abSmrg along with GCC; see the file COPYING3. If not see 1963d1a8abSmrg <http://www.gnu.org/licenses/>. */ 2063d1a8abSmrg 21c7a68eb7Smrg #define IN_TARGET_CODE 1 22c7a68eb7Smrg 2363d1a8abSmrg #include "config.h" 2463d1a8abSmrg #include "system.h" 2563d1a8abSmrg #include "coretypes.h" 2663d1a8abSmrg #include "tm.h" 2763d1a8abSmrg #include "c-family/c-common.h" 2863d1a8abSmrg 2963d1a8abSmrg /* Implements REGISTER_TARGET_PRAGMAS. */ 3063d1a8abSmrg void rl78_register_pragmas(void)3163d1a8abSmrgrl78_register_pragmas (void) 3263d1a8abSmrg { 3363d1a8abSmrg c_register_addr_space ("__near", ADDR_SPACE_NEAR); 3463d1a8abSmrg c_register_addr_space ("__far", ADDR_SPACE_FAR); 3563d1a8abSmrg } 36