bfd/
[deliverable/binutils-gdb.git] / ld / emulparams / elf64_s390.sh
1 SCRIPT_NAME=elf
2 ELFSIZE=64
3 OUTPUT_FORMAT="elf64-s390"
4 TEXT_START_ADDR=0x80000000
5 MAXPAGESIZE=0x1000
6 NONPAGED_TEXT_START_ADDR=0x80000000
7 ARCH="s390:64-bit"
8 MACHINE=
9 NOP=0x07070707
10 TEMPLATE_NAME=elf32
11 GENERATE_SHLIB_SCRIPT=yes
12 GENERATE_PIE_SCRIPT=yes
13
14 # Treat a host that matches the target with the possible exception of "x"
15 # in the name as if it were native.
16 if test `echo "$host" | sed -e s/390x/390/` \
17 = `echo "$target" | sed -e s/390x/390/`; then
18 case " $EMULATION_LIBPATH " in
19 *" ${EMULATION_NAME} "*)
20 NATIVE=yes
21 esac
22 fi
23
24 # Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first
25 # on Linux.
26 case "$target" in
27 s390*-linux*)
28 case "$EMULATION_NAME" in
29 *64*)
30 LIBPATH_SUFFIX=64 ;;
31 esac
32 ;;
33 esac
This page took 0.049346 seconds and 5 git commands to generate.