Commit | Line | Data |
---|---|---|
96e34542 JL |
1 | MACHINE= |
2 | SCRIPT_NAME=elf | |
3 | OUTPUT_FORMAT="elf32-mn10300" | |
4 | TEXT_START_ADDR=0x0 | |
5 | ARCH=mn10300 | |
6 | MAXPAGESIZE=256 | |
7 | ENTRY=_start | |
8 | EMBEDDED=yes | |
9 | ||
10 | # Hmmm, there's got to be a better way. This sets the stack to the | |
11 | # top of the simulator memory (2^18 bytes). | |
12 | OTHER_RELOCATING_SECTIONS='.stack 0x40000 : { _stack = .; *(.stack) }' | |
13 | ||
14 | # These are for compatibility with the COFF toolchain. | |
15 | # XXX These should definitely disappear. | |
16 | CTOR_START='___ctors = .;' | |
17 | CTOR_END='___ctors_end = .;' | |
18 | DTOR_START='___dtors = .;' | |
19 | DTOR_END='___dtors_end = .;' |