* src-release (DEVO_SUPPORT): Correct typos.
[binutils.git] / ld / emulparams / elf32mt.sh
blob04fc1ed83d85661c87ab684e7df767a2fc358036
1 MACHINE=
2 SCRIPT_NAME=elf
3 TEMPLATE_NAME=generic
4 EXTRA_EM_FILE=genelf
5 OUTPUT_FORMAT="elf32-mt"
6 # See also `include/elf/mt.h'
7 TEXT_START_ADDR=0x2000
8 ARCH=mt
9 ENTRY=_start
10 EMBEDDED=yes
11 ELFSIZE=32
12 MAXPAGESIZE=256
13 # This is like setting STACK_ADDR to 0x0073FFFF0, except that the setting can
14 # be overridden, e.g. --defsym _stack=0x0f00, and that we put an extra
15 # sentinal value at the bottom.
16 # N.B. We can't use PROVIDE to set the default value in a symbol because
17 # the address is needed to place the .stack section, which in turn is needed
18 # to hold the sentinel value(s).
19 test -z "$CREATE_SHLIB" && OTHER_SECTIONS=" .stack ${RELOCATING-0}${RELOCATING+(DEFINED(__stack) ? __stack : 0x007FFFF0)} :
21 ${RELOCATING+__stack = .;}
22 *(.stack)
23 LONG(0xdeaddead)
25 # We do not need .stack for shared library.
26 test -n "$CREATE_SHLIB" && OTHER_SECTIONS=""