ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Среда
26 марта
1504934 Топик полностью
SciFi (10.03.2025 11:15, просмотров: 149) ответил VladislavS. на А можно map-файл этого дела глянуть?
вот: 
Archive member included to satisfy reference by file (symbol)
c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libg_nano.a(lib_a-memcpy-asm.o)
                              src/startup.o (memcpy)
c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libg_nano.a(lib_a-memset.o)
                              src/startup.o (memset)
Discarded input sections
 .text          0x0000000000000000       0x64 src/core_riscv.o
 .data          0x0000000000000000        0x0 src/core_riscv.o
 .bss           0x0000000000000000        0x0 src/core_riscv.o
 .debug_info    0x0000000000000000      0x2eb src/core_riscv.o
 .debug_abbrev  0x0000000000000000       0xe5 src/core_riscv.o
 .debug_aranges
                0x0000000000000000       0x20 src/core_riscv.o
 .debug_line    0x0000000000000000      0x273 src/core_riscv.o
 .debug_str     0x0000000000000000      0x215 src/core_riscv.o
 .debug_line_str
                0x0000000000000000      0x1ac src/core_riscv.o
 .comment       0x0000000000000000       0x32 src/core_riscv.o
 .debug_frame   0x0000000000000000      0x120 src/core_riscv.o
 .riscv.attributes
                0x0000000000000000       0x27 src/core_riscv.o
 .data          0x0000000000000000        0x0 src/main.o
 .bss           0x0000000000000000        0x0 src/main.o
 .data          0x0000000000000000        0x0 src/startup.o
 .bss           0x0000000000000000        0x0 src/startup.o
 .data          0x0000000000000000        0x0 c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libg_nano.a(lib_a-memcpy-asm.o)
 .bss           0x0000000000000000        0x0 c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libg_nano.a(lib_a-memcpy-asm.o)
 .data          0x0000000000000000        0x0 c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libg_nano.a(lib_a-memset.o)
 .bss           0x0000000000000000        0x0 c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libg_nano.a(lib_a-memset.o)
Memory Configuration
Name             Origin             Length             Attributes
FLASH            0x0000000000000000 0x0000000000004000 xr
RAM              0x0000000020000000 0x0000000000000800 rw
*default*        0x0000000000000000 0xffffffffffffffff
Linker script and memory map
LOAD src/core_riscv.o
LOAD src/main.o
LOAD src/startup.o
LOAD c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libnosys.a
LOAD c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/rv32ec_xw/ilp32e\libgcc.a
LOAD c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libg_nano.a
LOAD c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libc_nano.a
LOAD c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/rv32ec_xw/ilp32e\libgcc.a
START GROUP
LOAD c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/rv32ec_xw/ilp32e\libgcc.a
LOAD c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libc_nano.a
LOAD c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libgloss_nano.a
END GROUP
                0x0000000000000100                __stack_size = 0x100
                [!provide]                        PROVIDE (_stack_size = __stack_size)
.init           0x0000000000000000       0x4c
                0x0000000000000000                _sinit = .
                0x0000000000000000                . = ALIGN (0x4)
                0x0000000000000000        0x4 LONG 0x100006f ((_start << 0x14) | 0x6f)
 *(.init.vectors)
 .init.vectors  0x0000000000000004        0xc src/startup.o
 *(.init)
 .init          0x0000000000000010       0x3c src/startup.o
                0x0000000000000010                _start
                0x000000000000004c                . = ALIGN (0x4)
                0x000000000000004c                _einit = .
.text           0x000000000000004c       0xdc
                0x000000000000004c                . = ALIGN (0x4)
 *(.text)
 .text          0x000000000000004c       0x5c src/main.o
                0x000000000000004c                main
 .text          0x00000000000000a8       0x5a src/startup.o
 .text          0x0000000000000102       0x16 c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libg_nano.a(lib_a-memcpy-asm.o)
                0x0000000000000102                memcpy
 .text          0x0000000000000118       0x10 c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libg_nano.a(lib_a-memset.o)
                0x0000000000000118                memset
 *(.text.*)
 *(.rodata)
 *(.rodata*)
 *(.gnu.linkonce.t.*)
                0x0000000000000128                . = ALIGN (0x4)
 *fill*         0x0000000000000128        0x0 
.rela.dyn       0x0000000000000128        0x0
 .rela.text     0x0000000000000128        0x0 src/main.o
 .rela.init     0x0000000000000128        0x0 src/main.o
.fini           0x0000000000000128        0x0
 *(SORT_NONE(.fini))
                0x0000000000000128                . = ALIGN (0x4)
                [!provide]                        PROVIDE (_etext = .)
                [!provide]                        PROVIDE (_eitcm = .)
.dalign         0x0000000020000000        0x0 load address 0x0000000000000128
                0x0000000020000000                . = ALIGN (0x4)
                0x0000000020000000                PROVIDE (_data_vma = .)
.dlalign        0x0000000000000128        0x0
                0x0000000000000128                . = ALIGN (0x4)
                0x0000000000000128                PROVIDE (_data_lma = .)
.data           0x0000000020000000        0x0 load address 0x0000000000000128
                0x0000000020000000                . = ALIGN (0x4)
 *(.gnu.linkonce.r.*)
 *(.data .data.*)
 *(.gnu.linkonce.d.*)
                0x0000000020000000                . = ALIGN (0x8)
                0x0000000020000800                PROVIDE (__global_pointer$ = (. + 0x800))
 *(.sdata .sdata.*)
 *(.sdata2*)
 *(.gnu.linkonce.s.*)
                0x0000000020000000                . = ALIGN (0x8)
 *(.srodata.cst16)
 *(.srodata.cst8)
 *(.srodata.cst4)
 *(.srodata.cst2)
 *(.srodata .srodata.*)
                0x0000000020000000                . = ALIGN (0x4)
                0x0000000020000000                PROVIDE (_edata = .)
.bss            0x0000000020000000        0x0 load address 0x0000000000000128
                0x0000000020000000                . = ALIGN (0x4)
                0x0000000020000000                PROVIDE (_sbss = .)
 *(.sbss*)
 *(.gnu.linkonce.sb.*)
 *(.bss*)
 *(.gnu.linkonce.b.*)
 *(COMMON*)
                0x0000000020000000                . = ALIGN (0x4)
                0x0000000020000000                PROVIDE (_ebss = .)
                [!provide]                        PROVIDE (_end = _ebss)
                [!provide]                        PROVIDE (end = .)
.stack          0x0000000020000700      0x100
                [!provide]                        PROVIDE (_heap_end = .)
                0x0000000020000700                . = ALIGN (0x4)
                [!provide]                        PROVIDE (_susrstack = .)
                0x0000000020000800                . = (. + __stack_size)
 *fill*         0x0000000020000700      0x100 
                0x0000000020000800                PROVIDE (_eusrstack = .)
OUTPUT(test.elf elf32-littleriscv)
.debug_info     0x0000000000000000      0x4d1
 .debug_info    0x0000000000000000      0x246 src/main.o
 .debug_info    0x0000000000000246      0x28b src/startup.o
.debug_abbrev   0x0000000000000000      0x222
 .debug_abbrev  0x0000000000000000       0xb7 src/main.o
 .debug_abbrev  0x00000000000000b7      0x16b src/startup.o
.debug_loclists
                0x0000000000000000       0x23
 .debug_loclists
                0x0000000000000000       0x23 src/main.o
.debug_aranges  0x0000000000000000       0x48
 .debug_aranges
                0x0000000000000000       0x20 src/main.o
 .debug_aranges
                0x0000000000000020       0x28 src/startup.o
.debug_rnglists
                0x0000000000000000       0x3e
 .debug_rnglists
                0x0000000000000000       0x1f src/main.o
 .debug_rnglists
                0x000000000000001f       0x1f src/startup.o
.debug_line     0x0000000000000000      0x258
 .debug_line    0x0000000000000000      0x14d src/main.o
 .debug_line    0x000000000000014d      0x10b src/startup.o
.debug_str      0x0000000000000000      0x392
 .debug_str     0x0000000000000000      0x1a5 src/main.o
                                        0x1f1 (size before relaxing)
 .debug_str     0x00000000000001a5      0x1ed src/startup.o
                                        0x324 (size before relaxing)
.debug_line_str
                0x0000000000000000      0x2c8
 .debug_line_str
                0x0000000000000000      0x180 src/main.o
                                        0x1b2 (size before relaxing)
 .debug_line_str
                0x0000000000000180      0x148 src/startup.o
                                        0x1b3 (size before relaxing)
.comment        0x0000000000000000       0x31
 .comment       0x0000000000000000       0x31 src/main.o
                                         0x32 (size before relaxing)
 .comment       0x0000000000000031       0x32 src/startup.o
.riscv.attributes
                0x0000000000000000       0x27
 .riscv.attributes
                0x0000000000000000       0x27 src/main.o
 .riscv.attributes
                0x0000000000000027       0x27 src/startup.o
 .riscv.attributes
                0x000000000000004e       0x25 c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libg_nano.a(lib_a-memcpy-asm.o)
 .riscv.attributes
                0x0000000000000073       0x25 c:/work/mounriver/mounriver_studio2/resources/app/resources/win32/components/wch/toolchain/risc-v embedded gcc12/bin/../lib/gcc/riscv-wch-elf/12.2.0/../../../../riscv-wch-elf/lib/rv32ec_xw/ilp32e\libg_nano.a(lib_a-memset.o)
.debug_frame    0x0000000000000000       0x7c
 .debug_frame   0x0000000000000000       0x24 src/main.o
 .debug_frame   0x0000000000000024       0x58 src/startup.o
ส็็็็็็็็็็็็็็็็็็็็็็็็็༼ ຈل͜ຈ༽ส้้้้้้้้้้้้้้้้้้้้้้้