]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/common/config/nvptx/nvptx-common.c
Update copyright years.
[thirdparty/gcc.git] / gcc / common / config / nvptx / nvptx-common.c
CommitLineData
738f2522 1/* NVPTX common hooks.
a5544970 2 Copyright (C) 2014-2019 Free Software Foundation, Inc.
738f2522
BS
3 Contributed by Bernd Schmidt <bernds@codesourcery.com>
4
5This file is part of GCC.
6
7GCC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 3, or (at your option)
10any later version.
11
12GCC is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GCC; see the file COPYING3. If not see
19<http://www.gnu.org/licenses/>. */
20
21#include "config.h"
22#include "system.h"
23#include "coretypes.h"
24#include "diagnostic-core.h"
25#include "tm.h"
4d0cdd0c 26#include "memmodel.h"
738f2522
BS
27#include "tm_p.h"
28#include "common/common-target.h"
29#include "common/common-target-def.h"
30#include "opts.h"
31#include "flags.h"
32
77e0a97a
TV
33enum unwind_info_type
34nvptx_except_unwind_info (struct gcc_options *opts ATTRIBUTE_UNUSED)
35{
d989dba8 36 return UI_NONE;
77e0a97a
TV
37}
38
738f2522
BS
39#undef TARGET_HAVE_NAMED_SECTIONS
40#define TARGET_HAVE_NAMED_SECTIONS false
41
42#undef TARGET_DEFAULT_TARGET_FLAGS
43#define TARGET_DEFAULT_TARGET_FLAGS MASK_ABI64
44
77e0a97a
TV
45#undef TARGET_EXCEPT_UNWIND_INFO
46#define TARGET_EXCEPT_UNWIND_INFO nvptx_except_unwind_info
47
738f2522 48struct gcc_targetm_common targetm_common = TARGETM_COMMON_INITIALIZER;