Add support to GNU ld to separate got related plt entries from normal ones in order...
[deliverable/binutils-gdb.git] / ld / emulparams / elf64_s390.sh
CommitLineData
a85d7ed0
NC
1SCRIPT_NAME=elf
2ELFSIZE=64
3OUTPUT_FORMAT="elf64-s390"
485cf679 4NO_REL_RELOCS=yes
82057c77 5TEXT_START_ADDR=0x1000000
24718e3b
L
6MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
7COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
d86bcc10 8ARCH="s390:64-bit"
a85d7ed0 9MACHINE=
563e308f 10NOP=0x07070707
a85d7ed0 11TEMPLATE_NAME=elf32
e4492aa0 12GENERATE_SHLIB_SCRIPT=yes
36af4a4e 13GENERATE_PIE_SCRIPT=yes
afca762f 14GENERATE_RELRO_SCRIPT=yes
060feee5 15NO_SMALL_DATA=yes
b4cbbe8f 16EXTRA_EM_FILE=s390
5a12586d 17SEPARATE_GOTPLT=24
470b557a 18IREL_IN_PLT=
afca762f
AK
19SEPARATE_GOTPLT=0
20test -z "$RELRO" && unset SEPARATE_GOTPLT
f52d1d64
JJ
21
22# Treat a host that matches the target with the possible exception of "x"
23# in the name as if it were native.
24if test `echo "$host" | sed -e s/390x/390/` \
25 = `echo "$target" | sed -e s/390x/390/`; then
26 case " $EMULATION_LIBPATH " in
27 *" ${EMULATION_NAME} "*)
9c8ebd6a 28 NATIVE=yes
f52d1d64
JJ
29 esac
30fi
9c8ebd6a
DJ
31
32# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first
33# on Linux.
34case "$target" in
35 s390*-linux*)
36 case "$EMULATION_NAME" in
37 *64*)
cad91d28 38 LIBPATH_SUFFIX=64 ;;
9c8ebd6a
DJ
39 esac
40 ;;
41esac
This page took 0.872494 seconds and 4 git commands to generate.