daily update
[binutils/dougsmingw.git] / ld / emulparams / elf_l1om.sh
blob19eea97f23de41497656ba6a3b3fe659c9dce6c4
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
19 if [ "x${host}" = "x${target}" ]; then
20 case " $EMULATION_LIBPATH " in
21 *" ${EMULATION_NAME} "*)
22 NATIVE=yes
23 esac
26 # Linux modifies the default library search path to first include
27 # a 64-bit specific directory.
28 case "$target" in
29 l1om*-linux*)
30 case "$EMULATION_NAME" in
31 *l1om*) LIBPATH_SUFFIX=64 ;;
32 esac
34 esac
35 SCRIPT_NAME=elf
36 ELFSIZE=64
37 OUTPUT_FORMAT="elf64-l1om"
38 NO_REL_RELOCS=yes
39 TEXT_START_ADDR=0x400000
40 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
41 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
42 ARCH="l1om"
43 MACHINE=
44 COMPILE_IN=yes
45 NOP=0x90909090
46 TEMPLATE_NAME=elf32
47 GENERATE_SHLIB_SCRIPT=yes
48 GENERATE_PIE_SCRIPT=yes
49 NO_SMALL_DATA=yes
50 LARGE_SECTIONS=yes
51 SEPARATE_GOTPLT=24
53 if [ "x${host}" = "x${target}" ]; then
54 case " $EMULATION_LIBPATH " in
55 *" ${EMULATION_NAME} "*)
56 NATIVE=yes
57 esac
60 # Linux modifies the default library search path to first include
61 # a 64-bit specific directory.
62 case "$target" in
63 l1om*-linux*)
64 case "$EMULATION_NAME" in
65 *l1om*) LIBPATH_SUFFIX=64 ;;
66 esac
68 esac