hello everyone
The platform I use is B4860。
My requirements are as follows:
I want to define the data segment in the alloc.c file to a fixed section of memory that is unique to alloc.c.
The normal data segment is defined as follows:
descriptor__ddr__cacheable_wb__sys__private__data {
.struct_start
.ddr__cacheable_wb__sys__private__data
.bsstab
".c?_bss_sections_table"
.init_table
.rom_init
.rom_init_tables
.exception
.exception_index
.staticinit
.zdata
reserved_crt_tls
.data
.mydata
.ddr__cacheable_wb__sys__private__rom
//LNK_SECTION(heap, "rw", _HeapSize, 0x8, "heap");
.bss
.ddr__cacheable_wb__sys__private__bss
} > ddr_private_data_c_wb;
A lot of data from c files will be output to this data segment
This is not what I want
I want the data section of the alloc.c file to be exported to mydata,the data segment of any other file cannot be exported to mydata.
What should I do, please? Or is there a reference document?
Thank you all