* config.bfd (s390-*-linux*): Add targ64_selvecs.
[deliverable/binutils-gdb.git] / ld / emulparams / elf_x86_64.sh
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 NO_SMALL_DATA=yes
14
15 if [ "x${host}" = "x${target}" ]; then
16 case " $EMULATION_LIBPATH " in
17 *" ${EMULATION_NAME} "*)
18 LIB_PATH=${libdir}
19 for lib in ${NATIVE_LIB_DIRS}; do
20 case :${LIB_PATH}: in
21 *:${lib}:*) ;;
22 *) LIB_PATH=${LIB_PATH}:${lib} ;;
23 esac
24 done
25
26 # Linux modify the default library search path to first include
27 # a 64-bit specific directory.
28 case "$target" in
29 x86_64*-linux*)
30 suffix=64 ;;
31 esac
32
33 # Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first.
34 if [ -n "$suffix" ]; then
35 case "$EMULATION_NAME" in
36 *64*)
37 LIB_PATH=`echo ${LIB_PATH}: | sed -e s,:,$suffix:,g`$LIB_PATH ;;
38 esac
39 fi ;;
40 esac
41 fi
This page took 0.033933 seconds and 5 git commands to generate.