Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: Problem with linker file in e2studio

$
0
0
I try to get an example project from ARM DS5 working in e2studio, but the .map file does not correspond with what I expect (according to the documentation). The project I try to build is "Example of Booting from Serial Flash Memory" provided by Renesas ( https://www.renesas.com/en-eu/search/keyword-search.html#genre=document&q=r01an1960ej0101_rza1h ). I attached the linker file that I use to build the project and the map file generated. The problem is that I expect that the region LOAD_MODULE2 contains for example code for spibsc_init1.o, but the map file reports the size of region LOAD_MODULE2 as zero and the spibsc_init1.o code is located in LOAD_MODULE4 (see attached map file). There is also something in the linker file that I don't understand: LOAD_MODULE2 : { * (CODE_SPIBSC_INIT1) */spibsc_init1.o (.text.*) */init_spibsc_init2_section.o (.text.*) * (CONST_SPIBSC_INIT1) */spibsc_init1.o (.rodata.*) */init_spibsc_init2_section.o (.rodata.*) * (DATA_SPIBSC_INIT1) */spibsc_init1.o (.data.*) */init_spibsc_init2_section.o (.data.*) * (CODE_IO_REGRW) */rza_io_regrw.o (.text.*) * (CONST_IO_REGRW) */rza_io_regrw.o (.rodata.*) * (DATA_IO_REGRW) */rza_io_regrw.o (.data.*) * (BSS_SPIBSC_INIT1) */spibsc_init1.o (.bss COMMON) */init_spibsc_init2_section.o (.bss COMMON) * (BSS_IO_REGRW) */rza_io_regrw.o (.bss COMMON) } SPIBSC_INIT1_RAM AT SPIBSC_INIT1_ROM This piece of linker file contains a notation I can't find in any documentation: */ prior to the filename.    Could someone point me in the right direction of solving my problem and/or explain to me what I am seeing here?

Viewing all articles
Browse latest Browse all 59170

Trending Articles