
Memory Configuration

Name             Origin             Length             Attributes
ram              0x40000000         0x00008000
*default*        0x00000000         0xffffffff

Linker script and memory map

LOAD ./src/crt.o
LOAD ./src/main.o
START GROUP
LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2\libgcc.a
LOAD d:/compiler/yagarto/bin/../lib/gcc/arm-elf/4.2.2/../../../../arm-elf/lib\libc.a
END GROUP
                0x00000100                FIQ_STACK_SIZE = 0x100
                0x00000100                IRQ_STACK_SIZE = 0x100
                0x00000100                ABT_STACK_SIZE = 0x100
                0x00000100                UND_STACK_SIZE = 0x100
                0x00000400                SVC_STACK_SIZE = 0x400

.text           0x40000000      0x16c
 *(.vectors)
 .vectors       0x40000000       0x40 ./src/crt.o
                0x40000040                . = ALIGN (0x4)
 *(.init)
 .init          0x40000040       0xc8 ./src/crt.o
                0x400000e4                FIQHandler
                0x400000d8                PAbortHandler
                0x400000c0                ExitFunction
                0x40000040                ResetHandler
                0x400000dc                DAbortHandler
                0x400000e0                IRQHandler
                0x400000d0                UndefHandler
                0x40000108                . = ALIGN (0x4)
 *(.text)
 .text          0x40000108        0x0 ./src/crt.o
 .text          0x40000108       0x60 ./src/main.o
                0x40000108                main
                0x40000168                . = ALIGN (0x4)
 *(.rodata)
 .rodata        0x40000168        0x4 ./src/main.o
                0x4000016c                . = ALIGN (0x4)
 *(.rodata*)
                0x4000016c                . = ALIGN (0x4)
 *(.glue_7t)
 .glue_7t       0x4000016c        0x0 ./src/crt.o
 .glue_7t       0x4000016c        0x0 ./src/main.o
                0x4000016c                . = ALIGN (0x4)
 *(.glue_7)
 .glue_7        0x4000016c        0x0 ./src/crt.o
 .glue_7        0x4000016c        0x0 ./src/main.o
                0x4000016c                . = ALIGN (0x4)
                0x4000016c                etext = .

.vfp11_veneer   0x00000000        0x0
 .vfp11_veneer  0x00000000        0x0 ./src/crt.o
 .vfp11_veneer  0x00000000        0x0 ./src/main.o

.data           0x4000016c        0x0
                0x4000016c                PROVIDE (__data_start, .)
 *(.data)
 .data          0x4000016c        0x0 ./src/crt.o
 .data          0x4000016c        0x0 ./src/main.o
                0x4000016c                . = ALIGN (0x4)
                0x4000016c                edata = .
                0x4000016c                _edata = .
                0x4000016c                PROVIDE (__data_end, .)

.bss            0x4000016c      0x894
                0x4000016c                PROVIDE (__bss_start, .)
 *(.bss)
 .bss           0x4000016c        0x0 ./src/crt.o
 .bss           0x4000016c        0x0 ./src/main.o
 *(COMMON)
                0x4000016c                . = ALIGN (0x4)
                0x4000016c                PROVIDE (__bss_end, .)
                0x40000200                . = ALIGN (0x100)
 *fill*         0x4000016c       0x94 00
                0x40000200                PROVIDE (__stack_start, .)
                0x40000200                PROVIDE (__stack_fiq_start, .)
                0x40000300                . = (. + FIQ_STACK_SIZE)
 *fill*         0x40000200      0x100 00
                0x40000300                . = ALIGN (0x4)
                0x40000300                PROVIDE (__stack_fiq_end, .)
                0x40000300                PROVIDE (__stack_irq_start, .)
                0x40000400                . = (. + IRQ_STACK_SIZE)
 *fill*         0x40000300      0x100 00
                0x40000400                . = ALIGN (0x4)
                0x40000400                PROVIDE (__stack_irq_end, .)
                0x40000400                PROVIDE (__stack_abt_start, .)
                0x40000500                . = (. + ABT_STACK_SIZE)
 *fill*         0x40000400      0x100 00
                0x40000500                . = ALIGN (0x4)
                0x40000500                PROVIDE (__stack_abt_end, .)
                0x40000500                PROVIDE (__stack_und_start, .)
                0x40000600                . = (. + UND_STACK_SIZE)
 *fill*         0x40000500      0x100 00
                0x40000600                . = ALIGN (0x4)
                0x40000600                PROVIDE (__stack_und_end, .)
                0x40000600                PROVIDE (__stack_svc_start, .)
                0x40000a00                . = (. + SVC_STACK_SIZE)
 *fill*         0x40000600      0x400 00
                0x40000a00                . = ALIGN (0x4)
                0x40000a00                PROVIDE (__stack_svc_end, .)
                0x40000a00                PROVIDE (__stack_end, .)
                0x40000a00                PROVIDE (__heap_start, .)
OUTPUT(test_ram.elf elf32-littlearm)

.ARM.attributes
                0x00000000       0x10
 .ARM.attributes
                0x00000000       0x10 ./src/crt.o
 .ARM.attributes
                0x00000010       0x10 ./src/main.o

.debug_line     0x00000000       0xd0
 .debug_line    0x00000000       0x79 ./src/crt.o
 .debug_line    0x00000079       0x57 ./src/main.o

.debug_info     0x00000000      0x202
 .debug_info    0x00000000       0x74 ./src/crt.o
 .debug_info    0x00000074      0x18e ./src/main.o

.debug_abbrev   0x00000000       0x76
 .debug_abbrev  0x00000000       0x12 ./src/crt.o
 .debug_abbrev  0x00000012       0x64 ./src/main.o

.debug_aranges  0x00000000       0x48
 .debug_aranges
                0x00000000       0x28 ./src/crt.o
 .debug_aranges
                0x00000028       0x20 ./src/main.o

.debug_ranges   0x00000000       0x20
 .debug_ranges  0x00000000       0x20 ./src/crt.o

.debug_frame    0x00000000       0x24
 .debug_frame   0x00000000       0x24 ./src/main.o

.debug_loc      0x00000000       0x1f
 .debug_loc     0x00000000       0x1f ./src/main.o

.debug_pubnames
                0x00000000       0x1b
 .debug_pubnames
                0x00000000       0x1b ./src/main.o

.comment        0x00000000       0x12
 .comment       0x00000000       0x12 ./src/main.o

Cross Reference Table

Symbol                                            File
DAbortHandler                                     ./src/crt.o
ExitFunction                                      ./src/crt.o
FIQHandler                                        ./src/crt.o
IRQHandler                                        ./src/crt.o
PAbortHandler                                     ./src/crt.o
ResetHandler                                      ./src/crt.o
UndefHandler                                      ./src/crt.o
__bss_end                                         ./src/crt.o
__bss_start                                       ./src/crt.o
__stack_abt_end                                   ./src/crt.o
__stack_fiq_end                                   ./src/crt.o
__stack_irq_end                                   ./src/crt.o
__stack_svc_end                                   ./src/crt.o
__stack_und_end                                   ./src/crt.o
main                                              ./src/main.o
                                                  ./src/crt.o
