* callback.h: Remove ANSI_PROTOTYPES conditional code.
[binutils.git] / ld / emulparams / elf_x86_64.sh
blob172b4b173f80dfc55c0989aa437424f51e6bf316
1 SCRIPT_NAME=elf
2 ELFSIZE=64
3 OUTPUT_FORMAT="elf64-x86-64"
4 TEXT_START_ADDR=0x400000
5 MAXPAGESIZE=0x100000
6 COMMONPAGESIZE=0x1000
7 NONPAGED_TEXT_START_ADDR=0x400000
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 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 modify the default library search path to first include
25 # a 64-bit specific directory.
26 case "$target" in
27 x86_64*-linux*)
28 case "$EMULATION_NAME" in
29 *64*) LIBPATH_SUFFIX=64 ;;
30 esac
32 esac