ARM Linker, 5.03 [Build 76] [MDK-ARM Standard]

==============================================================================

Section Cross References

    main.o(.text) refers to spi_master.o(.text) for spi_master_init
    main.o(.text) refers to nrf_delay.o(.text) for nrf_delay_ms
    startup_arm_nrf51.o(RESET) refers to startup_arm_nrf51.o(STACK) for __initial_sp
    startup_arm_nrf51.o(RESET) refers to startup_arm_nrf51.o(.text) for Reset_Handler
    startup_arm_nrf51.o(.text) refers to system_nrf51.o(.text) for SystemInit
    startup_arm_nrf51.o(.text) refers to entry.o(.ARM.Collect$$$$00000000) for __main
    system_nrf51.o(.text) refers to system_nrf51.o(.data) for .data
    nrf_delay.o(.text) refers to nrf_delay.o(.emb_text) for __asm___11_nrf_delay_c_532987f3__nrf_delay_us
    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry10a.o(.ARM.Collect$$$$0000000D) for __rt_final_cpp
    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry11a.o(.ARM.Collect$$$$0000000F) for __rt_final_exit
    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry7b.o(.ARM.Collect$$$$00000008) for _main_clock
    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry8b.o(.ARM.Collect$$$$0000000A) for _main_cpp_init
    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry9a.o(.ARM.Collect$$$$0000000B) for _main_init
    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry5.o(.ARM.Collect$$$$00000004) for _main_scatterload
    entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry2.o(.ARM.Collect$$$$00000001) for _main_stk
    entry2.o(.ARM.Collect$$$$00000001) refers to entry2.o(.ARM.Collect$$$$00002712) for __lit__00000000
    entry2.o(.ARM.Collect$$$$00002712) refers to startup_arm_nrf51.o(STACK) for __initial_sp
    entry2.o(__vectab_stack_and_reset_area) refers to startup_arm_nrf51.o(STACK) for __initial_sp
    entry2.o(__vectab_stack_and_reset_area) refers to entry.o(.ARM.Collect$$$$00000000) for __main
    entry5.o(.ARM.Collect$$$$00000004) refers to init.o(.text) for __scatterload
    entry9a.o(.ARM.Collect$$$$0000000B) refers to main.o(.text) for main
    entry9b.o(.ARM.Collect$$$$0000000C) refers to main.o(.text) for main
    init.o(.text) refers to entry5.o(.ARM.Collect$$$$00000004) for __main_after_scatterload


==============================================================================

Removing Unused input sections from the image.

    Removing main.o(.rev16_text), (4 bytes).
    Removing main.o(.revsh_text), (4 bytes).
    Removing main.o(.emb_text), (30 bytes).
    Removing startup_arm_nrf51.o(HEAP), (2048 bytes).
    Removing system_nrf51.o(.rev16_text), (4 bytes).
    Removing system_nrf51.o(.revsh_text), (4 bytes).
    Removing system_nrf51.o(.text), (16 bytes).
    Removing spi_master.o(.rev16_text), (4 bytes).
    Removing spi_master.o(.revsh_text), (4 bytes).
    Removing spi_master.o(.emb_text), (30 bytes).
    Removing nrf_delay.o(.rev16_text), (4 bytes).
    Removing nrf_delay.o(.revsh_text), (4 bytes).

12 unused section(s) (total 2156 bytes) removed from the image.

==============================================================================

Image Symbol Table

    Local Symbols

    Symbol Name                              Value     Ov Type        Size  Object(Section)

    RESET                                    0x00000000   Section      192  startup_arm_nrf51.o(RESET)
    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry7a.o ABSOLUTE
    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry2.o ABSOLUTE
    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry5.o ABSOLUTE
    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry11b.o ABSOLUTE
    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry11a.o ABSOLUTE
    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry10b.o ABSOLUTE
    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry10a.o ABSOLUTE
    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry9b.o ABSOLUTE
    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry9a.o ABSOLUTE
    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry8b.o ABSOLUTE
    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry8a.o ABSOLUTE
    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry.o ABSOLUTE
    ../clib/microlib/init/entry.s            0x00000000   Number         0  entry7b.o ABSOLUTE
    ..\..\..\..\Source\nrf_delay\nrf_delay.c 0x00000000   Number         0  nrf_delay.o ABSOLUTE
    ..\..\..\..\Source\spi_master\spi_master.c 0x00000000   Number         0  spi_master.o ABSOLUTE
    ..\..\..\..\Source\templates\arm\arm_startup_nrf51.s 0x00000000   Number         0  startup_arm_nrf51.o ABSOLUTE
    ..\..\..\..\Source\templates\system_nrf51.c 0x00000000   Number         0  system_nrf51.o ABSOLUTE
    ..\\..\\..\\..\\Source\\nrf_delay\\nrf_delay.c 0x00000000   Number         0  nrf_delay.o ABSOLUTE
    ..\\..\\..\\..\\Source\\spi_master\\spi_master.c 0x00000000   Number         0  spi_master.o ABSOLUTE
    ..\\..\\..\\..\\Source\\templates\\system_nrf51.c 0x00000000   Number         0  system_nrf51.o ABSOLUTE
    ..\\main.c                               0x00000000   Number         0  main.o ABSOLUTE
    ..\main.c                                0x00000000   Number         0  main.o ABSOLUTE
    dc.s                                     0x00000000   Number         0  dc.o ABSOLUTE
    handlers.s                               0x00000000   Number         0  handlers.o ABSOLUTE
    init.s                                   0x00000000   Number         0  init.o ABSOLUTE
    .ARM.Collect$$$$00000000                 0x000000c0   Section        0  entry.o(.ARM.Collect$$$$00000000)
    .ARM.Collect$$$$00000001                 0x000000c0   Section        4  entry2.o(.ARM.Collect$$$$00000001)
    .ARM.Collect$$$$00000004                 0x000000c4   Section        4  entry5.o(.ARM.Collect$$$$00000004)
    .ARM.Collect$$$$00000008                 0x000000c8   Section        0  entry7b.o(.ARM.Collect$$$$00000008)
    .ARM.Collect$$$$0000000A                 0x000000c8   Section        0  entry8b.o(.ARM.Collect$$$$0000000A)
    .ARM.Collect$$$$0000000B                 0x000000c8   Section        8  entry9a.o(.ARM.Collect$$$$0000000B)
    .ARM.Collect$$$$0000000D                 0x000000d0   Section        0  entry10a.o(.ARM.Collect$$$$0000000D)
    .ARM.Collect$$$$0000000F                 0x000000d0   Section        0  entry11a.o(.ARM.Collect$$$$0000000F)
    .ARM.Collect$$$$00002712                 0x000000d0   Section        4  entry2.o(.ARM.Collect$$$$00002712)
    __lit__00000000                          0x000000d0   Data           4  entry2.o(.ARM.Collect$$$$00002712)
    .emb_text                                0x000000d4   Section       30  nrf_delay.o(.emb_text)
    .text                                    0x000000f4   Section        0  main.o(.text)
    .text                                    0x00000154   Section       44  startup_arm_nrf51.o(.text)
    .text                                    0x00000180   Section        0  system_nrf51.o(.text)
    .text                                    0x00000200   Section        0  spi_master.o(.text)
    .text                                    0x00000318   Section        0  nrf_delay.o(.text)
    .text                                    0x0000033c   Section       36  init.o(.text)
    i.__scatterload_copy                     0x00000360   Section       14  handlers.o(i.__scatterload_copy)
    i.__scatterload_null                     0x0000036e   Section        2  handlers.o(i.__scatterload_null)
    i.__scatterload_zeroinit                 0x00000370   Section       14  handlers.o(i.__scatterload_zeroinit)
    .data                                    0x20000000   Section        4  system_nrf51.o(.data)
    __tagsym$$used                           0x20000000   Number         0  system_nrf51.o(.data)
    STACK                                    0x20000008   Section     2048  startup_arm_nrf51.o(STACK)

    Global Symbols

    Symbol Name                              Value     Ov Type        Size  Object(Section)

    BuildAttributes$$THM_ISAv3M$S$PE$A:L22$X:L11$S22$IEEE1$IW$USESV6$~STKCKD$USESV7$~SHL$OTIME$EBA8$MICROLIB$REQ8$PRES8$EABIv2 0x00000000   Number         0  anon$$obj.o ABSOLUTE
    __ARM_use_no_argv                        0x00000000   Number         0  main.o ABSOLUTE
    __Vectors                                0x00000000   Data           4  startup_arm_nrf51.o(RESET)
    __cpp_initialize__aeabi_                  - Undefined Weak Reference
    __cxa_finalize                            - Undefined Weak Reference
    __decompress                              - Undefined Weak Reference
    _clock_init                               - Undefined Weak Reference
    _microlib_exit                            - Undefined Weak Reference
    __Vectors_End                            0x000000c0   Data           0  startup_arm_nrf51.o(RESET)
    __Vectors_Size                           0x000000c0   Number         0  startup_arm_nrf51.o ABSOLUTE
    __main                                   0x000000c1   Thumb Code     0  entry.o(.ARM.Collect$$$$00000000)
    _main_stk                                0x000000c1   Thumb Code     0  entry2.o(.ARM.Collect$$$$00000001)
    _main_scatterload                        0x000000c5   Thumb Code     0  entry5.o(.ARM.Collect$$$$00000004)
    __main_after_scatterload                 0x000000c9   Thumb Code     0  entry5.o(.ARM.Collect$$$$00000004)
    _main_clock                              0x000000c9   Thumb Code     0  entry7b.o(.ARM.Collect$$$$00000008)
    _main_cpp_init                           0x000000c9   Thumb Code     0  entry8b.o(.ARM.Collect$$$$0000000A)
    _main_init                               0x000000c9   Thumb Code     0  entry9a.o(.ARM.Collect$$$$0000000B)
    __rt_final_cpp                           0x000000d1   Thumb Code     0  entry10a.o(.ARM.Collect$$$$0000000D)
    __rt_final_exit                          0x000000d1   Thumb Code     0  entry11a.o(.ARM.Collect$$$$0000000F)
    __asm___11_nrf_delay_c_532987f3__nrf_delay_us 0x000000d5   Thumb Code    30  nrf_delay.o(.emb_text)
    main                                     0x000000f5   Thumb Code    86  main.o(.text)
    Reset_Handler                            0x00000155   Thumb Code    18  startup_arm_nrf51.o(.text)
    NMI_Handler                              0x00000167   Thumb Code     2  startup_arm_nrf51.o(.text)
    HardFault_Handler                        0x00000169   Thumb Code     2  startup_arm_nrf51.o(.text)
    SVC_Handler                              0x0000016b   Thumb Code     2  startup_arm_nrf51.o(.text)
    PendSV_Handler                           0x0000016d   Thumb Code     2  startup_arm_nrf51.o(.text)
    SysTick_Handler                          0x0000016f   Thumb Code     2  startup_arm_nrf51.o(.text)
    ADC_IRQHandler                           0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    CCM_AAR_IRQHandler                       0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    ECB_IRQHandler                           0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    GPIOTE_IRQHandler                        0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    LPCOMP_IRQHandler                        0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    POWER_CLOCK_IRQHandler                   0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    QDEC_IRQHandler                          0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    RADIO_IRQHandler                         0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    RNG_IRQHandler                           0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    RTC0_IRQHandler                          0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    RTC1_IRQHandler                          0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    SPI0_TWI0_IRQHandler                     0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    SPI1_TWI1_IRQHandler                     0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    SWI0_IRQHandler                          0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    SWI1_IRQHandler                          0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    SWI2_IRQHandler                          0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    SWI3_IRQHandler                          0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    SWI4_IRQHandler                          0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    SWI5_IRQHandler                          0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    TEMP_IRQHandler                          0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    TIMER0_IRQHandler                        0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    TIMER1_IRQHandler                        0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    TIMER2_IRQHandler                        0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    UART0_IRQHandler                         0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    WDT_IRQHandler                           0x00000171   Thumb Code     0  startup_arm_nrf51.o(.text)
    SystemInit                               0x00000181   Thumb Code   108  system_nrf51.o(.text)
    spi_master_init                          0x00000201   Thumb Code   148  spi_master.o(.text)
    spi_master_tx_rx                         0x00000295   Thumb Code   106  spi_master.o(.text)
    nrf_delay_ms                             0x00000319   Thumb Code    30  nrf_delay.o(.text)
    __scatterload                            0x0000033d   Thumb Code    28  init.o(.text)
    __scatterload_rt2                        0x0000033d   Thumb Code     0  init.o(.text)
    __scatterload_copy                       0x00000361   Thumb Code    14  handlers.o(i.__scatterload_copy)
    __scatterload_null                       0x0000036f   Thumb Code     2  handlers.o(i.__scatterload_null)
    __scatterload_zeroinit                   0x00000371   Thumb Code    14  handlers.o(i.__scatterload_zeroinit)
    Region$$Table$$Base                      0x00000380   Number         0  anon$$obj.o(Region$$Table)
    Region$$Table$$Limit                     0x00000390   Number         0  anon$$obj.o(Region$$Table)
    SystemCoreClock                          0x20000000   Data           4  system_nrf51.o(.data)
    __initial_sp                             0x20000808   Data           0  startup_arm_nrf51.o(STACK)



==============================================================================

Memory Map of the image

  Image Entry point : 0x000000c1

  Load Region LR_IROM1 (Base: 0x00000000, Size: 0x00000394, Max: 0x00040000, ABSOLUTE)

    Execution Region ER_IROM1 (Base: 0x00000000, Size: 0x00000390, Max: 0x00040000, ABSOLUTE)

    Base Addr    Size         Type   Attr      Idx    E Section Name        Object

    0x00000000   0x000000c0   Data   RO           86    RESET               startup_arm_nrf51.o
    0x000000c0   0x00000000   Code   RO          211  * .ARM.Collect$$$$00000000  mc_p.l(entry.o)
    0x000000c0   0x00000004   Code   RO          214    .ARM.Collect$$$$00000001  mc_p.l(entry2.o)
    0x000000c4   0x00000004   Code   RO          217    .ARM.Collect$$$$00000004  mc_p.l(entry5.o)
    0x000000c8   0x00000000   Code   RO          219    .ARM.Collect$$$$00000008  mc_p.l(entry7b.o)
    0x000000c8   0x00000000   Code   RO          221    .ARM.Collect$$$$0000000A  mc_p.l(entry8b.o)
    0x000000c8   0x00000008   Code   RO          222    .ARM.Collect$$$$0000000B  mc_p.l(entry9a.o)
    0x000000d0   0x00000000   Code   RO          224    .ARM.Collect$$$$0000000D  mc_p.l(entry10a.o)
    0x000000d0   0x00000000   Code   RO          226    .ARM.Collect$$$$0000000F  mc_p.l(entry11a.o)
    0x000000d0   0x00000004   Code   RO          215    .ARM.Collect$$$$00002712  mc_p.l(entry2.o)
    0x000000d4   0x0000001e   Code   RO          186    .emb_text           nrf_delay.o
    0x000000f2   0x00000002   PAD
    0x000000f4   0x00000060   Code   RO            4    .text               main.o
    0x00000154   0x0000002c   Code   RO           87    .text               startup_arm_nrf51.o
    0x00000180   0x00000080   Code   RO           94    .text               system_nrf51.o
    0x00000200   0x00000118   Code   RO          144    .text               spi_master.o
    0x00000318   0x00000024   Code   RO          187    .text               nrf_delay.o
    0x0000033c   0x00000024   Code   RO          228    .text               mc_p.l(init.o)
    0x00000360   0x0000000e   Code   RO          232    i.__scatterload_copy  mc_p.l(handlers.o)
    0x0000036e   0x00000002   Code   RO          233    i.__scatterload_null  mc_p.l(handlers.o)
    0x00000370   0x0000000e   Code   RO          234    i.__scatterload_zeroinit  mc_p.l(handlers.o)
    0x0000037e   0x00000002   PAD
    0x00000380   0x00000010   Data   RO          230    Region$$Table       anon$$obj.o


    Execution Region RW_IRAM1 (Base: 0x20000000, Size: 0x00000808, Max: 0x00004000, ABSOLUTE, UNINIT)

    Base Addr    Size         Type   Attr      Idx    E Section Name        Object

    0x20000000   0x00000004   Data   RW           95    .data               system_nrf51.o
    0x20000004   0x00000004   PAD
    0x20000008   0x00000800   Zero   RW           84    STACK               startup_arm_nrf51.o


==============================================================================

Image component sizes


      Code (inc. data)   RO Data    RW Data    ZI Data      Debug   Object Name

        96         10          0          0          0       8239   main.o
        66          6          0          0          0       1451   nrf_delay.o
       280         26          0          0          0      19819   spi_master.o
        44         14        192          0       2048        684   startup_arm_nrf51.o
       128         20          0          4          0       1487   system_nrf51.o

    ----------------------------------------------------------------------
       616         76        208          4       2052      31680   Object Totals
         0          0         16          0          0          0   (incl. Generated)
         2          0          0          0          4          0   (incl. Padding)

    ----------------------------------------------------------------------

      Code (inc. data)   RO Data    RW Data    ZI Data      Debug   Library Member Name

         0          0          0          0          0          0   entry.o
         0          0          0          0          0          0   entry10a.o
         0          0          0          0          0          0   entry11a.o
         8          4          0          0          0          0   entry2.o
         4          0          0          0          0          0   entry5.o
         0          0          0          0          0          0   entry7b.o
         0          0          0          0          0          0   entry8b.o
         8          4          0          0          0          0   entry9a.o
        30          0          0          0          0          0   handlers.o
        36          8          0          0          0         68   init.o

    ----------------------------------------------------------------------
        88         16          0          0          0         68   Library Totals
         2          0          0          0          0          0   (incl. Padding)

    ----------------------------------------------------------------------

      Code (inc. data)   RO Data    RW Data    ZI Data      Debug   Library Name

        86         16          0          0          0         68   mc_p.l

    ----------------------------------------------------------------------
        88         16          0          0          0         68   Library Totals

    ----------------------------------------------------------------------

==============================================================================


      Code (inc. data)   RO Data    RW Data    ZI Data      Debug   

       704         92        208          4       2052      31556   Grand Totals
       704         92        208          4       2052      31556   ELF Image Totals
       704         92        208          4          0          0   ROM Totals

==============================================================================

    Total RO  Size (Code + RO Data)                  912 (   0.89kB)
    Total RW  Size (RW Data + ZI Data)              2056 (   2.01kB)
    Total ROM Size (Code + RO Data + RW Data)        916 (   0.89kB)

==============================================================================

