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