Commit | Line | Data |
---|---|---|
2be3aa03 NC |
1 | SCRIPT_NAME=elf |
2 | ELFSIZE=64 | |
3 | OUTPUT_FORMAT="elf64-x86-64" | |
485cf679 | 4 | NO_REL_RELOCS=yes |
8f3aa7a0 | 5 | TEXT_START_ADDR=0x400000 |
24718e3b L |
6 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |
7 | COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)" | |
beb43bb9 | 8 | ARCH="i386:x86-64" |
2be3aa03 | 9 | MACHINE= |
563e308f | 10 | NOP=0x90909090 |
2be3aa03 NC |
11 | TEMPLATE_NAME=elf32 |
12 | GENERATE_SHLIB_SCRIPT=yes | |
36af4a4e | 13 | GENERATE_PIE_SCRIPT=yes |
48459341 | 14 | NO_SMALL_DATA=yes |
9599dfb1 | 15 | LARGE_SECTIONS=yes |
8c37241b | 16 | SEPARATE_GOTPLT=24 |
beb43bb9 JH |
17 | |
18 | if [ "x${host}" = "x${target}" ]; then | |
19 | case " $EMULATION_LIBPATH " in | |
20 | *" ${EMULATION_NAME} "*) | |
9c8ebd6a | 21 | NATIVE=yes |
beb43bb9 JH |
22 | esac |
23 | fi | |
9c8ebd6a | 24 | |
ff15b240 | 25 | # Linux/Solaris modify the default library search path to first include |
9c8ebd6a DJ |
26 | # a 64-bit specific directory. |
27 | case "$target" in | |
e4818e07 | 28 | x86_64*-linux*|i[3-7]86-*-linux-*) |
9c8ebd6a | 29 | case "$EMULATION_NAME" in |
cad91d28 | 30 | *64*) LIBPATH_SUFFIX=64 ;; |
9c8ebd6a DJ |
31 | esac |
32 | ;; | |
ff15b240 NC |
33 | *-*-solaris2*) |
34 | LIBPATH_SUFFIX=/amd64 | |
35 | ELF_INTERPRETER_NAME=\"/lib/amd64/ld.so.1\" | |
36 | ;; | |
9c8ebd6a | 37 | esac |