eCos Product
RedBoot Product
Supported Hardware |
![]() Linker Script Macros [TBD]When linking your application with eCos, an eCos-specific linker script is used. This script specifies the linker rules as a set of macros which are used by the linker script fragments generated for each platform. The linker script can be defined either in the architecture or in the variant HALs. The linker script should be based on the linker script normally used by the tools. This default script can be obtained by running this command (replacing XXX with the architecture name): $ XXX-elf-ld --verbose The script should then be separated into per-section macros, and a few eCos-specific extensions must be added. See any of the existing linker scripts for further details. Macro details [TBD]Describe what all the macros do!?! (Jonathan Larmour)The objective is to get the output the same (or as similar as possible anyway) to XXX-elf-ld --verbose. This is what all HAL linker scripts should do as a basis for their ports. |