daily update
[binutils/dougsmingw.git] / ld / emulparams / elf_x86_64.sh
blob0e93ad8d5dcabb5323ff5ff929a6726ed85e8218
1 SCRIPT_NAME=elf
2 ELFSIZE=64
3 OUTPUT_FORMAT="elf64-x86-64"
4 NO_REL_RELOCS=yes
5 TEXT_START_ADDR=0x400000
6 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
7 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
8 ARCH="i386:x86-64"
9 MACHINE=
10 NOP=0x90909090
11 TEMPLATE_NAME=elf32
12 GENERATE_SHLIB_SCRIPT=yes
13 GENERATE_PIE_SCRIPT=yes
14 NO_SMALL_DATA=yes
15 LARGE_SECTIONS=yes
16 SEPARATE_GOTPLT=24
17 IREL_IN_PLT=
19 if [ "x${host}" = "x${target}" ]; then
20 case " $EMULATION_LIBPATH " in
21 *" ${EMULATION_NAME} "*)
22 NATIVE=yes
23 esac
26 # Linux/Solaris modify the default library search path to first include
27 # a 64-bit specific directory.
28 case "$target" in
29 x86_64*-linux*|i[3-7]86-*-linux-*)
30 case "$EMULATION_NAME" in
31 *64*) LIBPATH_SUFFIX=64 ;;
32 esac
34 *-*-solaris2*)
35 LIBPATH_SUFFIX=/amd64
36 ELF_INTERPRETER_NAME=\"/lib/amd64/ld.so.1\"
38 esac