]>
Commit | Line | Data |
---|---|---|
a85d7ed0 NC |
1 | SCRIPT_NAME=elf |
2 | ELFSIZE=64 | |
3 | OUTPUT_FORMAT="elf64-s390" | |
485cf679 | 4 | NO_REL_RELOCS=yes |
82057c77 | 5 | TEXT_START_ADDR=0x1000000 |
24718e3b L |
6 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |
7 | COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)" | |
d86bcc10 | 8 | ARCH="s390:64-bit" |
a85d7ed0 | 9 | MACHINE= |
563e308f | 10 | NOP=0x07070707 |
075a2b89 | 11 | TEMPLATE_NAME=elf |
e4492aa0 | 12 | GENERATE_SHLIB_SCRIPT=yes |
36af4a4e | 13 | GENERATE_PIE_SCRIPT=yes |
afca762f | 14 | GENERATE_RELRO_SCRIPT=yes |
060feee5 | 15 | NO_SMALL_DATA=yes |
b4cbbe8f | 16 | EXTRA_EM_FILE=s390 |
470b557a | 17 | IREL_IN_PLT= |
afca762f AK |
18 | SEPARATE_GOTPLT=0 |
19 | test -z "$RELRO" && unset SEPARATE_GOTPLT | |
f52d1d64 JJ |
20 | |
21 | # Treat a host that matches the target with the possible exception of "x" | |
22 | # in the name as if it were native. | |
23 | if test `echo "$host" | sed -e s/390x/390/` \ | |
24 | = `echo "$target" | sed -e s/390x/390/`; then | |
25 | case " $EMULATION_LIBPATH " in | |
26 | *" ${EMULATION_NAME} "*) | |
9c8ebd6a | 27 | NATIVE=yes |
f52d1d64 JJ |
28 | esac |
29 | fi | |
9c8ebd6a DJ |
30 | |
31 | # Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first | |
32 | # on Linux. | |
33 | case "$target" in | |
34 | s390*-linux*) | |
35 | case "$EMULATION_NAME" in | |
36 | *64*) | |
cad91d28 | 37 | LIBPATH_SUFFIX=64 ;; |
9c8ebd6a DJ |
38 | esac |
39 | ;; | |
40 | esac |