aboutsummaryrefslogtreecommitdiffstats
path: root/support/ld/common_header.inc
Commit message (Collapse)AuthorAgeFilesLines
* [support/ld] Add linker support for reconfigurable heap.Marti Bolivar2011-09-121-2/+3
| | | | | | | | | | | | | | | - common_header.inc: Declare EXTERN symbols _lm_heap_start and _lm_heap_end. - common_rom.inc: Check for _lm_heap_start and _lm_heap_end. If they are defined, preserve their values. Otherwise, _lm_heap_start is starts after .bss, and _lm_heap_end is the end of SRAM. This allows existing linker scripts to continue using the old heap scheme, but allows for customizability elsewhere. - syscalls.c: Respect the addresses of _lm_heap_start and _lm_heap_end as the boundaries of the heap in _sbrk().
* Linker scripts: Remove useless junk.Marti Bolivar2011-09-091-4/+1
|
* [support/ld] Factor out header from common_rom.inc, common_ram.inc.Marti Bolivar2011-09-071-0/+39
The linker scripts share an initial section. Factor this out into a new file common_header.inc, and have the main linker scripts include this file. Apart from eliminating a redundancy, this will make it easier to add new linker scripts in the future.