vax decoding of indexed addressing mode
[deliverable/binutils-gdb.git] / ld / emulparams / elf_x86_64.sh
CommitLineData
c40e31a1
AM
1source_sh ${srcdir}/emulparams/plt_unwind.sh
2source_sh ${srcdir}/emulparams/extern_protected_data.sh
3source_sh ${srcdir}/emulparams/dynamic_undefined_weak.sh
4source_sh ${srcdir}/emulparams/reloc_overflow.sh
5source_sh ${srcdir}/emulparams/call_nop.sh
6source_sh ${srcdir}/emulparams/cet.sh
2be3aa03
NC
7SCRIPT_NAME=elf
8ELFSIZE=64
9OUTPUT_FORMAT="elf64-x86-64"
485cf679 10NO_REL_RELOCS=yes
8f3aa7a0 11TEXT_START_ADDR=0x400000
24718e3b
L
12MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
13COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
beb43bb9 14ARCH="i386:x86-64"
2be3aa03 15MACHINE=
075a2b89 16TEMPLATE_NAME=elf
5b9c07b2 17EXTRA_EM_FILE="elf-x86"
2be3aa03 18GENERATE_SHLIB_SCRIPT=yes
36af4a4e 19GENERATE_PIE_SCRIPT=yes
48459341 20NO_SMALL_DATA=yes
9599dfb1 21LARGE_SECTIONS=yes
134960cc 22LARGE_BSS_AFTER_BSS=
17d6eea5 23SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 24 ? 24 : 0"
8dfab6dd 24IREL_IN_PLT=
ce3ad333
L
25# These sections are placed right after .plt section.
26OTHER_PLT_SECTIONS="
dd7e64d4 27.plt.got ${RELOCATING-0} : { *(.plt.got) }
f2c29a16 28.plt.sec ${RELOCATING-0} : { *(.plt.sec) }
dd7e64d4 29"
beb43bb9
JH
30
31if [ "x${host}" = "x${target}" ]; then
32 case " $EMULATION_LIBPATH " in
33 *" ${EMULATION_NAME} "*)
9c8ebd6a 34 NATIVE=yes
beb43bb9
JH
35 esac
36fi
9c8ebd6a 37
ff15b240 38# Linux/Solaris modify the default library search path to first include
9c8ebd6a
DJ
39# a 64-bit specific directory.
40case "$target" in
e4818e07 41 x86_64*-linux*|i[3-7]86-*-linux-*)
9c8ebd6a 42 case "$EMULATION_NAME" in
d258b828 43 *64*)
6c19b93b 44 LIBPATH_SUFFIX=64
889c2a67 45 PARSE_AND_LIST_OPTIONS_BNDPLT='
eba27bd7
L
46 fprintf (file, _("\
47 -z bndplt Always generate BND prefix in PLT entries\n"));
48'
889c2a67 49 PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT='
eba27bd7 50 else if (strcmp (optarg, "bndplt") == 0)
5b9c07b2 51 params.bndplt = TRUE;
eba27bd7 52'
889c2a67
L
53 PARSE_AND_LIST_OPTIONS="$PARSE_AND_LIST_OPTIONS $PARSE_AND_LIST_OPTIONS_BNDPLT"
54 PARSE_AND_LIST_ARGS_CASE_Z="$PARSE_AND_LIST_ARGS_CASE_Z $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT"
6c19b93b 55 ;;
9c8ebd6a
DJ
56 esac
57 ;;
e4492aa0 58 *-*-solaris2*)
ff15b240
NC
59 LIBPATH_SUFFIX=/amd64
60 ELF_INTERPRETER_NAME=\"/lib/amd64/ld.so.1\"
61 ;;
9c8ebd6a 62esac
This page took 0.893661 seconds and 4 git commands to generate.