fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / binutils / ld / emulparams / elf_x86_64.sh
blob6d3705828b2eb7337185658a7d09bb41b5b7c22f
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
16 if [ "x${host}" = "x${target}" ]; then
17 case " $EMULATION_LIBPATH " in
18 *" ${EMULATION_NAME} "*)
19 NATIVE=yes
20 esac
23 # Linux modify the default library search path to first include
24 # a 64-bit specific directory.
25 case "$target" in
26 x86_64*-linux*)
27 case "$EMULATION_NAME" in
28 *64*) LIBPATH_SUFFIX=64 ;;
29 esac
31 esac