9ce6533bd9329ad3db5781ec454b0caa78167350
[deliverable/binutils-gdb.git] / ld / emulparams / elf32_x86_64.sh
1 . ${srcdir}/emulparams/plt_unwind.sh
2 . ${srcdir}/emulparams/extern_protected_data.sh
3 . ${srcdir}/emulparams/dynamic_undefined_weak.sh
4 . ${srcdir}/emulparams/reloc_overflow.sh
5 . ${srcdir}/emulparams/call_nop.sh
6 . ${srcdir}/emulparams/cet.sh
7 SCRIPT_NAME=elf
8 ELFSIZE=32
9 OUTPUT_FORMAT="elf32-x86-64"
10 NO_REL_RELOCS=yes
11 TEXT_START_ADDR=0x400000
12 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
13 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
14 ARCH="i386:x64-32"
15 MACHINE=
16 TEMPLATE_NAME=elf32
17 GENERATE_SHLIB_SCRIPT=yes
18 GENERATE_PIE_SCRIPT=yes
19 NO_SMALL_DATA=yes
20 LARGE_SECTIONS=yes
21 LARGE_BSS_AFTER_BSS=
22 SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 24 ? 24 : 0"
23 IREL_IN_PLT=
24 # These sections are placed right after .plt section.
25 OTHER_PLT_SECTIONS="
26 .plt.got ${RELOCATING-0} : { *(.plt.got) }
27 .plt.sec ${RELOCATING-0} : { *(.plt.sec) }
28 "
29
30 if [ "x${host}" = "x${target}" ]; then
31 case " $EMULATION_LIBPATH " in
32 *" ${EMULATION_NAME} "*)
33 NATIVE=yes
34 esac
35 fi
36
37 # Linux modifies the default library search path to first include
38 # a 32-bit specific directory.
39 case "$target" in
40 x86_64*-linux*|i[3-7]86-*-linux-*)
41 case "$EMULATION_NAME" in
42 *32*)
43 LIBPATH_SUFFIX=x32
44 LIBPATH_SUFFIX_SKIP=64
45 ;;
46 *64*)
47 LIBPATH_SUFFIX=64
48 ;;
49 esac
50 ;;
51 esac
This page took 0.033678 seconds and 3 git commands to generate.