]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/emulparams/elf64kvx_linux.sh
kvx: New port.
[thirdparty/binutils-gdb.git] / ld / emulparams / elf64kvx_linux.sh
1 # Copyright (C) 2009-2023 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
18 ARCH=kvx
19 MACHINE=
20
21 # bundle with 1 nop insn
22 NOP=0x00f0037f
23
24 SCRIPT_NAME=elf
25 ELFSIZE=64
26 OUTPUT_FORMAT="elf64-kvx"
27 NO_REL_RELOCS=yes
28
29 TEMPLATE_NAME=elf
30 EXTRA_EM_FILE=kvxelf
31 # first user page at 64K.
32 TEXT_START_ADDR=0x10000
33
34 # No support for .s* sections.
35 NO_SMALL_DATA=yes
36
37 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
38
39 GENERATE_SHLIB_SCRIPT=yes
40 GENERATE_PIE_SCRIPT=yes
41