Memory Configuration

Name             Origin             Length             Attributes
bram             0x00000000         0x00001000
*default*        0x00000000         0xffffffff

Linker script and memory map

                0x00000000                __DYNAMIC = 0x0
                0x00000000                _BRAM_START = 0x0
                0x00001000                _BRAM_SIZE = 0x1000
                0x00001000                _BRAM_END = (_BRAM_START + _BRAM_SIZE)

.text           0x00000000      0x270
                0x00000000                _ftext = .
 *(.text .stub .text.* .gnu.linkonce.t.*)
 .text          0x00000000       0x8c crt0ram.o
                0x00000000                _start
                0x00000060                irq_enable
                0x0000006c                irq_mask
                0x00000078                irq_disable
                0x00000084                jump
                0x00000088                halt
 .text          0x0000008c      0x104 main.o
                0x0000008c                read_uint32
                0x000000d0                main
 .text          0x00000190       0xe0 soc-hw.o
                0x00000190                sleep
                0x000001c8                tic_init
                0x000001f0                uart_init
                0x000001f4                uart_getchar
                0x00000218                uart_putchar
                0x0000023c                uart_putstr
                0x00000270                _etext = .

.rodata         0x00000270       0x1c
                0x00000270                . = ALIGN (0x4)
                0x00000270                _frodata = .
 *(.rodata .rodata.* .gnu.linkonce.r.*)
 .rodata.str1.4
                0x00000270       0x1c main.o
 *(.rodata1)
                0x0000028c                _erodata = .

.data           0x0000028c        0xc
                0x0000028c                . = ALIGN (0x4)
                0x0000028c                _fdata = .
 *(.data .data.* .gnu.linkonce.d.*)
 .data          0x0000028c        0x0 crt0ram.o
 .data          0x0000028c        0x0 main.o
 .data          0x0000028c        0xc soc-hw.o
                0x0000028c                uart0
                0x00000290                timer0
                0x00000294                gpio0
 *(.data1)
                0x000002a0                _gp = ALIGN (0x10)
 *(.sdata .sdata.* .gnu.linkonce.s.*)
                0x00000298                _edata = .

.bss            0x00000298        0x4
                0x00000298                . = ALIGN (0x4)
                0x00000298                _fbss = .
 *(.dynsbss)
 *(.sbss .sbss.* .gnu.linkonce.sb.*)
 *(.scommon)
 *(.dynbss)
 *(.bss .bss.* .gnu.linkonce.b.*)
 .bss           0x00000298        0x0 crt0ram.o
 .bss           0x00000298        0x0 main.o
 .bss           0x00000298        0x4 soc-hw.o
                0x00000298                msec
 *(COMMON)
                0x0000029c                _ebss = .
                0x0000029c                _end = .
                0x00000ffc                PROVIDE (_fstack, 0xffc)
LOAD crt0ram.o
LOAD main.o
LOAD soc-hw.o
OUTPUT(image elf32-lm32)

.debug_abbrev   0x00000000      0x219
 .debug_abbrev  0x00000000       0xcd main.o
 .debug_abbrev  0x000000cd      0x14c soc-hw.o

.debug_info     0x00000000      0x3d0
 .debug_info    0x00000000      0x121 main.o
 .debug_info    0x00000121      0x2af soc-hw.o

.debug_line     0x00000000      0x2d8
 .debug_line    0x00000000      0x18f main.o
 .debug_line    0x0000018f      0x149 soc-hw.o

.debug_frame    0x00000000       0xa0
 .debug_frame   0x00000000       0x30 main.o
 .debug_frame   0x00000030       0x70 soc-hw.o

.debug_loc      0x00000000       0xfb
 .debug_loc     0x00000000       0xb7 main.o
 .debug_loc     0x000000b7       0x44 soc-hw.o

.debug_pubnames
                0x00000000       0xbc
 .debug_pubnames
                0x00000000       0x2b main.o
 .debug_pubnames
                0x0000002b       0x91 soc-hw.o

.debug_aranges  0x00000000       0x40
 .debug_aranges
                0x00000000       0x20 main.o
 .debug_aranges
                0x00000020       0x20 soc-hw.o

.debug_ranges   0x00000000       0x18
 .debug_ranges  0x00000000       0x18 main.o

.debug_str      0x00000000      0x17b
 .debug_str     0x00000000       0xb8 main.o
                                 0xd0 (size before relaxing)
 .debug_str     0x000000b8       0xc3 soc-hw.o
                                0x157 (size before relaxing)

.comment        0x00000000       0x11
 .comment       0x00000000       0x11 main.o
                                 0x12 (size before relaxing)
 .comment       0x00000000       0x12 soc-hw.o