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