| 1 | MACHINE= |
| 2 | SCRIPT_NAME=elf |
| 3 | OUTPUT_FORMAT="elf32-littlearm" |
| 4 | BIG_OUTPUT_FORMAT="elf32-bigarm" |
| 5 | LITTLE_OUTPUT_FORMAT="elf32-littlearm" |
| 6 | TEXT_START_ADDR=0x8000 |
| 7 | TEMPLATE_NAME=armelf |
| 8 | OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7)' |
| 9 | OTHER_BSS_SYMBOLS='__bss_start__ = .;' |
| 10 | OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ;' |
| 11 | |
| 12 | GENERATE_SHLIB_SCRIPT=yes |
| 13 | |
| 14 | ARCH=arm |
| 15 | MACHINE= |
| 16 | MAXPAGESIZE=256 |
| 17 | ENTRY=_start |
| 18 | EMBEDDED=yes |
| 19 | |
| 20 | # Hmmm, there's got to be a better way. This sets the stack to the |
| 21 | # top of the simulator memory (2^19 bytes). |
| 22 | OTHER_RELOCATING_SECTIONS='.stack 0x80000 : { _stack = .; *(.stack) }' |