Commit | Line | Data |
---|---|---|
da7a2710 L |
1 | SCRIPT_NAME=elf |
2 | ELFSIZE=64 | |
3 | OUTPUT_FORMAT="elf64-l1om" | |
4 | NO_REL_RELOCS=yes | |
5 | TEXT_START_ADDR=0x400000 | |
6 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" | |
7 | COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)" | |
8 | ARCH="l1om" | |
9 | MACHINE= | |
10 | COMPILE_IN=yes | |
11 | NOP=0x90909090 | |
12 | TEMPLATE_NAME=elf32 | |
13 | GENERATE_SHLIB_SCRIPT=yes | |
14 | GENERATE_PIE_SCRIPT=yes | |
15 | NO_SMALL_DATA=yes | |
16 | LARGE_SECTIONS=yes | |
17 | SEPARATE_GOTPLT=24 | |
18 | ||
19 | if [ "x${host}" = "x${target}" ]; then | |
20 | case " $EMULATION_LIBPATH " in | |
21 | *" ${EMULATION_NAME} "*) | |
22 | NATIVE=yes | |
23 | esac | |
24 | fi | |
25 | ||
26 | # Linux modifies the default library search path to first include | |
27 | # a 64-bit specific directory. | |
28 | case "$target" in | |
d02c4aae | 29 | *l1om*-linux*) |
da7a2710 L |
30 | case "$EMULATION_NAME" in |
31 | *l1om*) LIBPATH_SUFFIX=64 ;; | |
32 | esac | |
33 | ;; | |
34 | esac |