1. ${srcdir}/emulparams/plt_unwind.sh 2SCRIPT_NAME=elf 3ELFSIZE=64 4OUTPUT_FORMAT="elf64-x86-64" 5NO_REL_RELOCS=yes 6TEXT_START_ADDR=0x400000 7MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" 8COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)" 9ARCH="i386:x86-64" 10MACHINE= 11TEMPLATE_NAME=elf32 12GENERATE_SHLIB_SCRIPT=yes 13GENERATE_PIE_SCRIPT=yes 14NO_SMALL_DATA=yes 15LARGE_SECTIONS=yes 16LARGE_BSS_AFTER_BSS= 17SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 24 ? 24 : 0" 18IREL_IN_PLT= 19# Reuse TINY_READONLY_SECTION which is placed right after .plt section. 20TINY_READONLY_SECTION=".plt.bnd ${RELOCATING-0} : { *(.plt.bnd) }" 21 22if [ "x${host}" = "x${target}" ]; then 23 case " $EMULATION_LIBPATH " in 24 *" ${EMULATION_NAME} "*) 25 NATIVE=yes 26 esac 27fi 28 29# Linux/Solaris modify the default library search path to first include 30# a 64-bit specific directory. 31case "$target" in 32 x86_64*-linux*|i[3-7]86-*-linux-*) 33 case "$EMULATION_NAME" in 34 *64*) LIBPATH_SUFFIX=64 ;; 35 esac 36 ;; 37 *-*-solaris2*) 38 LIBPATH_SUFFIX=/amd64 39 ELF_INTERPRETER_NAME=\"/lib/amd64/ld.so.1\" 40 ;; 41esac 42