1#   Copyright (C) 2009-2024 Free Software Foundation, Inc.
2#   Contributed by Kalray SA.
3
4#   This program is free software; you can redistribute it and/or modify
5#   it under the terms of the GNU General Public License as published by
6#   the Free Software Foundation; either version 3 of the License, or
7#   (at your option) any later version.
8
9#   This program is distributed in the hope that it will be useful,
10#   but WITHOUT ANY WARRANTY; without even the implied warranty of
11#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12#   GNU General Public License for more details.
13
14#   You should have received a copy of the GNU General Public License
15#   along with this program; see the file COPYING3. If not,
16#   see <http://www.gnu.org/licenses/>.  */
17
18ARCH=kvx
19MACHINE=
20
21# bundle with 1 nop insn
22NOP=0x00f0037f
23
24SCRIPT_NAME=elf
25ELFSIZE=64
26OUTPUT_FORMAT="elf64-kvx"
27NO_REL_RELOCS=yes
28
29TEMPLATE_NAME=elf
30EXTRA_EM_FILE=kvxelf
31EMBEDDED=yes
32TEXT_START_ADDR=0x10000
33
34# No support for .s* sections.
35NO_SMALL_DATA=yes
36
37MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
38
39GENERATE_SHLIB_SCRIPT=yes
40