PR ld/10518
[deliverable/binutils-gdb.git] / ld / emulparams / elf64_s390.sh
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
15
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
24 fi
25
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
34 ;;
35 esac
This page took 0.029197 seconds and 4 git commands to generate.