Line 6... |
Line 6... |
|
|
Memory Configuration
|
Memory Configuration
|
|
|
Name Origin Length Attributes
|
Name Origin Length Attributes
|
IO 0x0000000080000000 0x0000000000000010 rw !x
|
IO 0x0000000080000000 0x0000000000000010 rw !x
|
ROM 0x0000000000000000 0x0000000000001000 x !rw
|
MEM 0x0000000000000000 0x0000000000002000 xrw
|
RAM 0x0000000000001000 0x0000000000001000 rw !x
|
|
*default* 0x0000000000000000 0xffffffffffffffff
|
*default* 0x0000000000000000 0xffffffffffffffff
|
|
|
Linker script and memory map
|
Linker script and memory map
|
|
|
|
|
.io 0x0000000080000000 0x10
|
.text 0x0000000000000000 0xce8
|
io.o(COMMON)
|
*(.boot)
|
COMMON 0x0000000080000000 0x10 io.o
|
.boot 0x0000000000000000 0x7c boot.o
|
0x0000000080000000 io
|
0x000000000000006c check4rv32i
|
|
|
.text 0x0000000000000000 0x8f4
|
|
boot.o(.text)
|
|
.text 0x0000000000000000 0xa4 boot.o
|
|
0x0000000000000000 boot
|
|
*(.text)
|
*(.text)
|
.text 0x00000000000000a4 0xd0 io.o
|
.text 0x000000000000007c 0xac io.o
|
0x00000000000000a4 board_name
|
0x000000000000007c board_name
|
.text 0x0000000000000174 0x70c stdio.o
|
.text 0x0000000000000128 0x0 main.o
|
0x0000000000000174 getchar
|
.text 0x0000000000000128 0xad8 stdio.o
|
0x0000000000000190 putchar
|
0x0000000000000268 _idle
|
0x00000000000001d0 gets
|
0x0000000000000288 getchar
|
0x0000000000000288 putstr
|
0x00000000000002dc putchar
|
0x00000000000002c8 puts
|
0x0000000000000394 gets
|
0x00000000000002e4 putdx
|
0x00000000000004ac putstr
|
0x00000000000003dc putx
|
0x00000000000004f4 puts
|
0x00000000000003e4 putd
|
0x0000000000000540 putdx
|
0x00000000000003ec printf
|
0x00000000000006c8 putx
|
0x00000000000004c0 strncmp
|
0x00000000000006d0 putd
|
0x00000000000004f4 strcmp
|
0x00000000000006d8 printf
|
0x00000000000004fc strlen
|
0x00000000000007fc strncmp
|
0x0000000000000520 memcpy
|
0x0000000000000848 strcmp
|
0x0000000000000544 memset
|
0x0000000000000888 strlen
|
0x0000000000000560 strtok
|
0x00000000000008b0 memcpy
|
0x0000000000000600 atoi
|
0x00000000000008d4 memset
|
0x0000000000000654 xtoi
|
0x00000000000008f4 strtok
|
0x0000000000000694 mac
|
0x00000000000009ec atoi
|
0x000000000000069c __umulsi3
|
0x0000000000000a48 xtoi
|
0x00000000000006d0 __mulsi3
|
0x0000000000000a90 mac
|
0x0000000000000728 __udiv_umod_si3
|
0x0000000000000a98 __umulsi3
|
0x0000000000000778 __udivsi3
|
0x0000000000000ad0 __mulsi3
|
0x0000000000000780 __umodsi3
|
0x0000000000000b54 __udiv_umod_si3
|
0x0000000000000788 __div_mod_si3
|
0x0000000000000b64 __udivsi3
|
0x000000000000080c __divsi3
|
0x0000000000000b78 __umodsi3
|
0x0000000000000814 __modsi3
|
0x0000000000000b8c __div_mod_si3
|
0x000000000000081c usleep
|
0x0000000000000b9c __divsi3
|
.text 0x0000000000000880 0x0 main.o
|
0x0000000000000bb0 __modsi3
|
.text 0x0000000000000880 0x74 banner.o
|
0x0000000000000bc4 usleep
|
0x0000000000000880 banner
|
.text 0x0000000000000c00 0xe8 banner.o
|
|
0x0000000000000c00 banner
|
.text.startup 0x00000000000008f4 0x53c
|
.text 0x0000000000000ce8 0x0 boot.o
|
.text.startup 0x00000000000008f4 0x53c main.o
|
|
0x00000000000008f4 main
|
.text.startup 0x0000000000000ce8 0x60c
|
|
.text.startup 0x0000000000000ce8 0x60c main.o
|
|
0x0000000000000ce8 main
|
|
|
.data 0x0000000000001000 0x550
|
.rela.dyn 0x00000000000012f4 0x0
|
*(.sbss)
|
.rela.text.startup
|
.sbss 0x0000000000001000 0x8 io.o
|
0x00000000000012f4 0x0 io.o
|
0x0000000000001000 utimers
|
.rela.text 0x00000000000012f4 0x0 io.o
|
0x0000000000001004 threads
|
|
.sbss 0x0000000000001008 0x4 stdio.o
|
.data 0x00000000000012f4 0x55c
|
*(.rodata*)
|
*(.rodata*)
|
.rodata.str1.4
|
.rodata.str1.4
|
0x000000000000100c 0xe0 io.o
|
0x00000000000012f4 0xe0 io.o
|
.rodata.str1.4
|
|
0x00000000000010ec 0x21 boot.o
|
|
*fill* 0x000000000000110d 0x3
|
|
.rodata 0x0000000000001110 0x40 stdio.o
|
|
.rodata.str1.4
|
.rodata.str1.4
|
0x0000000000001150 0x19 stdio.o
|
0x00000000000013d4 0x2cf main.o
|
*fill* 0x0000000000001169 0x3
|
0x2db (size before relaxing)
|
|
*fill* 0x00000000000016a3 0x1
|
|
.rodata 0x00000000000016a4 0x40 stdio.o
|
.rodata.str1.4
|
.rodata.str1.4
|
0x000000000000116c 0x2d3 main.o
|
0x00000000000016e4 0x19 stdio.o
|
0x2d7 (size before relaxing)
|
*fill* 0x00000000000016fd 0x3
|
*fill* 0x000000000000143f 0x1
|
|
.rodata.str1.4
|
.rodata.str1.4
|
0x0000000000001440 0x110 banner.o
|
0x0000000000001700 0x110 banner.o
|
0x10d (size before relaxing)
|
0x10d (size before relaxing)
|
|
.rodata 0x0000000000001810 0x31 boot.o
|
*(.data)
|
*(.data)
|
.data 0x0000000000001550 0x0 io.o
|
.data 0x0000000000001841 0x0 io.o
|
.data 0x0000000000001550 0x0 boot.o
|
.data 0x0000000000001841 0x0 main.o
|
.data 0x0000000000001550 0x0 stdio.o
|
.data 0x0000000000001841 0x0 stdio.o
|
.data 0x0000000000001550 0x0 main.o
|
.data 0x0000000000001841 0x0 banner.o
|
.data 0x0000000000001550 0x0 banner.o
|
.data 0x0000000000001841 0x0 boot.o
|
|
0x0000000000002041 _global = (. + 0x800)
|
|
*(.sbss)
|
|
*fill* 0x0000000000001841 0x3
|
|
.sbss 0x0000000000001844 0x8 io.o
|
|
0x0000000000001844 utimers
|
|
0x0000000000001848 threads
|
|
.sbss 0x000000000000184c 0x4 stdio.o
|
*(.bss)
|
*(.bss)
|
.bss 0x0000000000001550 0x0 io.o
|
.bss 0x0000000000001850 0x0 io.o
|
.bss 0x0000000000001550 0x0 boot.o
|
.bss 0x0000000000001850 0x0 main.o
|
.bss 0x0000000000001550 0x0 stdio.o
|
.bss 0x0000000000001850 0x0 stdio.o
|
.bss 0x0000000000001550 0x0 main.o
|
.bss 0x0000000000001850 0x0 banner.o
|
.bss 0x0000000000001550 0x0 banner.o
|
.bss 0x0000000000001850 0x0 boot.o
|
*(.rela*)
|
0x0000000000001850 _heap = .
|
.rela.text 0x0000000000001550 0x0 io.o
|
0x0000000000002000 PROVIDE (_stack = (ORIGIN (MEM) + LENGTH (MEM)))
|
.rela.text.startup
|
|
0x0000000000001550 0x0 io.o
|
.io 0x0000000080000000 0x10
|
*(COMMON)
|
io.o(COMMON)
|
LOAD boot.o
|
COMMON 0x0000000080000000 0x10 io.o
|
LOAD stdio.o
|
0x0000000080000000 io
|
LOAD main.o
|
LOAD main.o
|
|
LOAD stdio.o
|
LOAD io.o
|
LOAD io.o
|
LOAD banner.o
|
LOAD banner.o
|
|
LOAD boot.o
|
OUTPUT(darksocv.o elf32-littleriscv)
|
OUTPUT(darksocv.o elf32-littleriscv)
|
|
|
.comment 0x0000000000000000 0x29
|
.comment 0x0000000000000000 0x29
|
.comment 0x0000000000000000 0x29 io.o
|
.comment 0x0000000000000000 0x29 io.o
|
0x2a (size before relaxing)
|
0x2a (size before relaxing)
|
.comment 0x0000000000000029 0x2a boot.o
|
|
.comment 0x0000000000000029 0x2a stdio.o
|
|
.comment 0x0000000000000029 0x2a main.o
|
.comment 0x0000000000000029 0x2a main.o
|
|
.comment 0x0000000000000029 0x2a stdio.o
|
.comment 0x0000000000000029 0x2a banner.o
|
.comment 0x0000000000000029 0x2a banner.o
|