Thank you for your reply. I have already studied the GNU ld script file documentation from the link you mentioned, but in that, I could nowhere find any information about the notation I don't understand. It's the */ piece within the output section, so what does */ spibsc_init1.o (.text.*) exactly mean? I expect that using the output section shown above, the map file should contain more than the following: LOAD_MODULE2 0x20020000 0x0 load address 0x18000200 *(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) .bss 0x20020000 0x0 ./src/common/src/sflash_boot/spibsc_init1.o */init_spibsc_init2_section.o(.bss COMMON) .bss 0x20020000 0x0 ./src/common/src/sflash_boot/init_spibsc_init2_section.o *(BSS_IO_REGRW) */rza_io_regrw.o(.bss COMMON) .bss 0x20020000 0x0 ./src/common/src/common_settings/rza_io_regrw.o 0x18000200 Load$$LR$$LOAD_MODULE2$$Base = LOADADDR (LOAD_MODULE2) 0x20020000 Image$$CODE_SPIBSC_INIT1$$Base = ADDR (LOAD_MODULE2) 0x00000000 Load$$LR$$LOAD_MODULE2$$Length = SIZEOF (LOAD_MODULE2) Is this what one would expect?
↧