Commit | Line | Data |
---|---|---|
b2be2013 AH |
1 | MACHINE= |
2 | SCRIPT_NAME=elf | |
8ded5a0f AM |
3 | TEMPLATE_NAME=generic |
4 | EXTRA_EM_FILE=genelf | |
d031aafb | 5 | OUTPUT_FORMAT="elf32-mt" |
4970f871 | 6 | # See also `include/elf/mt.h' |
b2be2013 | 7 | TEXT_START_ADDR=0x2000 |
d031aafb | 8 | ARCH=mt |
b2be2013 AH |
9 | ENTRY=_start |
10 | EMBEDDED=yes | |
11 | ELFSIZE=32 | |
12 | MAXPAGESIZE=256 | |
74dc9032 AM |
13 | |
14 | STACK_ADDR="(DEFINED(__stack) ? __stack : 0x007FFFF0)" | |
15 | STACK_SENTINEL="LONG(0xdeaddead)" | |
b2be2013 | 16 | # We do not need .stack for shared library. |
74dc9032 | 17 | test -n "$CREATE_SHLIB" && unset STACK_ADDR |