Blame ld/emulparams/elf64_s390.sh
|
Packit |
ba3681 |
SCRIPT_NAME=elf
|
|
Packit |
ba3681 |
ELFSIZE=64
|
|
Packit |
ba3681 |
OUTPUT_FORMAT="elf64-s390"
|
|
Packit |
ba3681 |
NO_REL_RELOCS=yes
|
|
Packit |
ba3681 |
TEXT_START_ADDR=0x1000000
|
|
Packit |
ba3681 |
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
|
Packit |
ba3681 |
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
|
Packit |
ba3681 |
ARCH="s390:64-bit"
|
|
Packit |
ba3681 |
MACHINE=
|
|
Packit |
ba3681 |
NOP=0x07070707
|
|
Packit |
ba3681 |
TEMPLATE_NAME=elf32
|
|
Packit |
ba3681 |
GENERATE_SHLIB_SCRIPT=yes
|
|
Packit |
ba3681 |
GENERATE_PIE_SCRIPT=yes
|
|
Packit |
ba3681 |
NO_SMALL_DATA=yes
|
|
Packit |
ba3681 |
EXTRA_EM_FILE=s390
|
|
Packit |
ba3681 |
IREL_IN_PLT=
|
|
Packit |
ba3681 |
|
|
Packit |
ba3681 |
# Treat a host that matches the target with the possible exception of "x"
|
|
Packit |
ba3681 |
# in the name as if it were native.
|
|
Packit |
ba3681 |
if test `echo "$host" | sed -e s/390x/390/` \
|
|
Packit |
ba3681 |
= `echo "$target" | sed -e s/390x/390/`; then
|
|
Packit |
ba3681 |
case " $EMULATION_LIBPATH " in
|
|
Packit |
ba3681 |
*" ${EMULATION_NAME} "*)
|
|
Packit |
ba3681 |
NATIVE=yes
|
|
Packit |
ba3681 |
esac
|
|
Packit |
ba3681 |
fi
|
|
Packit |
ba3681 |
|
|
Packit |
ba3681 |
# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first
|
|
Packit |
ba3681 |
# on Linux.
|
|
Packit |
ba3681 |
case "$target" in
|
|
Packit |
ba3681 |
s390*-linux*)
|
|
Packit |
ba3681 |
case "$EMULATION_NAME" in
|
|
Packit |
ba3681 |
*64*)
|
|
Packit |
ba3681 |
LIBPATH_SUFFIX=64 ;;
|
|
Packit |
ba3681 |
esac
|
|
Packit |
ba3681 |
;;
|
|
Packit |
ba3681 |
esac
|