search for: region_alias

Displaying 2 results from an estimated 2 matches for "region_alias".

2015 Jul 01
2
[LLVMdev] [lld] Current ways to position memory sections (e.g. .text, .data, .bss) with lld?
...this with a combination of MEMORY and SECTION entries in the linker script tied together by region aliases, the "AT" directive and the ">" operator: MEMORY { flash (rx) : ORIGIN = 0x20000, LENGTH = 0x8000 ram (rwx) : ORIGIN = 0x20005000, LENGTH = 0x00003000 } REGION_ALIAS("REGION_TEXT", flash); REGION_ALIAS("REGION_RAM", ram); SECTIONS { .text : { ... } > REGION_TEXT _etext = .; .data : { ... } > REGION_RAM AT > REGION_TEXT } But the MEMORY entries don't seem to be evalua...
2015 Jul 06
2
[LLVMdev] [lld] Current ways to position memory sections (e.g. .text, .data, .bss) with lld?
...AT" directive and the >> ">" operator: >> >> MEMORY >> >> { >> >> flash (rx) : ORIGIN = 0x20000, LENGTH = 0x8000 >> >> ram (rwx) : ORIGIN = 0x20005000, LENGTH = 0x00003000 >> >> } >> >> >> REGION_ALIAS("REGION_TEXT", flash); >> >> REGION_ALIAS("REGION_RAM", ram); >> >> >> SECTIONS >> >> { >> >> .text : >> >> { >> >> ... >> >> } > REGION_TEXT >> >> >&...