aboutsummaryrefslogtreecommitdiffstats
path: root/support/ld/common_ram.inc
Commit message (Collapse)AuthorAgeFilesLines
* [support/ld] Unify linker scripts.Marti Bolivar2011-09-131-188/+0
| | | | | | | | | | | | | | | | Add new common.inc, which is common_rom.inc with some DEFINED(_FLASH_BUILD) usages thrown in to allow for RAM builds. It also uses a new REGION_RODATA region alias for read-only data. Move section .USER_FLASH to REGION_RODATA. This means it lives in RAM under RAM builds. Although this might be surprising, not doing so would make RAM builds useless. Modify the individual board linker scripts to properly set REGION_RODATA and _FLASH_BUILD before calling out to common.inc. Delete common_rom.inc, common_ram.inc, common_header.inc, in favor of common.inc. This should fix RAM builds on all boards.
* Linker scripts: Rename section targets.Marti Bolivar2011-09-091-7/+5
| | | | | | Use region aliases in common_ram.inc, common_rom.inc. These are provided by the individual board scripts which include these. Note that the aliases have horrible names. We'll need to fix that up.
* Linker scripts: Indent common_ram.inc, common_rom.inc.Marti Bolivar2011-09-091-78/+79
|
* [support/ld] Factor out header from common_rom.inc, common_ram.inc.Marti Bolivar2011-09-071-36/+4
| | | | | | | 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.
* Refactor linker scripts. Rename irq and exception handlers.Perry Hung2011-02-271-0/+221
Add common linker scripts for ram and rom. Add medium and high density libraries for libcs3.