1SCRIPT_NAME=elf 2ELFSIZE=64 3OUTPUT_FORMAT="elf64-s390" 4NO_REL_RELOCS=yes 5TEXT_START_ADDR=0x1000000 6MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" 7COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)" 8ARCH="s390:64-bit" 9MACHINE= 10NOP=0x07070707 11TEMPLATE_NAME=elf32 12GENERATE_SHLIB_SCRIPT=yes 13GENERATE_PIE_SCRIPT=yes 14NO_SMALL_DATA=yes 15EXTRA_EM_FILE=s390 16IREL_IN_PLT= 17 18# Treat a host that matches the target with the possible exception of "x" 19# in the name as if it were native. 20if test `echo "$host" | sed -e s/390x/390/` \ 21 = `echo "$target" | sed -e s/390x/390/`; then 22 case " $EMULATION_LIBPATH " in 23 *" ${EMULATION_NAME} "*) 24 NATIVE=yes 25 esac 26fi 27 28# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first 29# on Linux. 30case "$target" in 31 s390*-linux*) 32 case "$EMULATION_NAME" in 33 *64*) 34 LIBPATH_SUFFIX=64 ;; 35 esac 36 ;; 37esac 38