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