1af526226Smrg /* RL78 C-specific support
2*dd083157Smrg    Copyright (C) 2011-2020 Free Software Foundation, Inc.
3af526226Smrg    Contributed by Red Hat, Inc.
4af526226Smrg 
5af526226Smrg    This file is part of GCC.
6af526226Smrg 
7af526226Smrg    GCC is free software; you can redistribute it and/or modify
8af526226Smrg    it under the terms of the GNU General Public License as published by
9af526226Smrg    the Free Software Foundation; either version 3, or (at your option)
10af526226Smrg    any later version.
11af526226Smrg 
12af526226Smrg    GCC is distributed in the hope that it will be useful,
13af526226Smrg    but WITHOUT ANY WARRANTY; without even the implied warranty of
14af526226Smrg    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15af526226Smrg    GNU General Public License for more details.
16af526226Smrg 
17af526226Smrg    You should have received a copy of the GNU General Public License
18af526226Smrg    along with GCC; see the file COPYING3.  If not see
19af526226Smrg    <http://www.gnu.org/licenses/>.  */
20af526226Smrg 
213903d7f3Smrg #define IN_TARGET_CODE 1
223903d7f3Smrg 
23af526226Smrg #include "config.h"
24af526226Smrg #include "system.h"
25af526226Smrg #include "coretypes.h"
26af526226Smrg #include "tm.h"
27af526226Smrg #include "c-family/c-common.h"
28af526226Smrg 
29af526226Smrg /* Implements REGISTER_TARGET_PRAGMAS.  */
30af526226Smrg void
rl78_register_pragmas(void)31af526226Smrg rl78_register_pragmas (void)
32af526226Smrg {
335ef59e75Smrg   c_register_addr_space ("__near", ADDR_SPACE_NEAR);
34af526226Smrg   c_register_addr_space ("__far", ADDR_SPACE_FAR);
35af526226Smrg }
36