xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/common/config/pru/pru-common.c (revision 4c3eb207d36f67d31994830c0a694161fc1ca39b)
1*4c3eb207Smrg /* Common hooks for TI PRU
2*4c3eb207Smrg    Copyright (C) 2014-2020 Free Software Foundation, Inc.
3*4c3eb207Smrg 
4*4c3eb207Smrg This file is part of GCC.
5*4c3eb207Smrg 
6*4c3eb207Smrg GCC is free software; you can redistribute it and/or modify
7*4c3eb207Smrg it under the terms of the GNU General Public License as published by
8*4c3eb207Smrg the Free Software Foundation; either version 3, or (at your option)
9*4c3eb207Smrg any later version.
10*4c3eb207Smrg 
11*4c3eb207Smrg GCC is distributed in the hope that it will be useful,
12*4c3eb207Smrg but WITHOUT ANY WARRANTY; without even the implied warranty of
13*4c3eb207Smrg MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*4c3eb207Smrg GNU General Public License for more details.
15*4c3eb207Smrg 
16*4c3eb207Smrg You should have received a copy of the GNU General Public License
17*4c3eb207Smrg along with GCC; see the file COPYING3.  If not see
18*4c3eb207Smrg <http://www.gnu.org/licenses/>.  */
19*4c3eb207Smrg 
20*4c3eb207Smrg #include "config.h"
21*4c3eb207Smrg #include "system.h"
22*4c3eb207Smrg #include "coretypes.h"
23*4c3eb207Smrg #include "diagnostic-core.h"
24*4c3eb207Smrg #include "tm.h"
25*4c3eb207Smrg #include "common/common-target.h"
26*4c3eb207Smrg #include "common/common-target-def.h"
27*4c3eb207Smrg #include "opts.h"
28*4c3eb207Smrg #include "flags.h"
29*4c3eb207Smrg 
30*4c3eb207Smrg #undef TARGET_DEFAULT_TARGET_FLAGS
31*4c3eb207Smrg #define TARGET_DEFAULT_TARGET_FLAGS		(MASK_OPT_LOOP)
32*4c3eb207Smrg 
33*4c3eb207Smrg #undef TARGET_EXCEPT_UNWIND_INFO
34*4c3eb207Smrg #define TARGET_EXCEPT_UNWIND_INFO sjlj_except_unwind_info
35*4c3eb207Smrg 
36*4c3eb207Smrg struct gcc_targetm_common targetm_common = TARGETM_COMMON_INITIALIZER;
37