Displaying 2 results from an estimated 2 matches for "region_text".
Did you mean:
regcontext
2015 Jul 01
2
[LLVMdev] [lld] Current ways to position memory sections (e.g. .text, .data, .bss) with lld?
...ation 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 evaluated and ">...
2015 Jul 06
2
[LLVMdev] [lld] Current ways to position memory sections (e.g. .text, .data, .bss) with lld?
...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
>>
>>
>>
>> _...