Implement tp_richcompare for gdb.Block
[binutils-gdb.git] / ld / emulparams / elf_x86_64.sh
blob466da2c48ca2e2bcf1cb2731fedc57b56c183a04
1 source_sh ${srcdir}/emulparams/plt_unwind.sh
2 source_sh ${srcdir}/emulparams/extern_protected_data.sh
3 source_sh ${srcdir}/emulparams/dynamic_undefined_weak.sh
4 source_sh ${srcdir}/emulparams/reloc_overflow.sh
5 source_sh ${srcdir}/emulparams/call_nop.sh
6 source_sh ${srcdir}/emulparams/cet.sh
7 source_sh ${srcdir}/emulparams/x86-report-relative.sh
8 source_sh ${srcdir}/emulparams/x86-64-level.sh
9 source_sh ${srcdir}/emulparams/x86-64-lam.sh
10 source_sh ${srcdir}/emulparams/x86-64-plt.sh
11 source_sh ${srcdir}/emulparams/static.sh
12 source_sh ${srcdir}/emulparams/dt-relr.sh
13 SCRIPT_NAME=elf
14 ELFSIZE=64
15 OUTPUT_FORMAT="elf64-x86-64"
16 NO_REL_RELOCS=yes
17 TEXT_START_ADDR=0x400000
18 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
19 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
20 ARCH="i386:x86-64"
21 MACHINE=
22 TEMPLATE_NAME=elf
23 EXTRA_EM_FILE="elf-x86"
24 GENERATE_SHLIB_SCRIPT=yes
25 GENERATE_PIE_SCRIPT=yes
26 NO_SMALL_DATA=yes
27 LARGE_SECTIONS=yes
28 LARGE_BSS_AFTER_BSS=
29 SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 24 ? 24 : 0"
30 IREL_IN_PLT=
31 # These sections are placed right after .plt section.
32 OTHER_PLT_SECTIONS="
33 .plt.got ${RELOCATING-0} : { *(.plt.got) }
34 .plt.sec ${RELOCATING-0} : { *(.plt.sec) }
37 if [ "x${host}" = "x${target}" ]; then
38 case " $EMULATION_LIBPATH " in
39 *" ${EMULATION_NAME} "*)
40 NATIVE=yes
41 esac
44 # Linux/Solaris modify the default library search path to first include
45 # a 64-bit specific directory.
46 case "$target" in
47 x86_64*-linux*|i[3-7]86-*-linux-*)
48 case "$EMULATION_NAME" in
49 *64*)
50 LIBPATH_SUFFIX=64
52 esac
54 *-*-solaris2*)
55 LIBPATH_SUFFIX=/amd64
56 ELF_INTERPRETER_NAME=\"/lib/amd64/ld.so.1\"
58 esac