view target-utils/flash-boot-test/ld.script @ 805:a43c5dc251dc

doc/User-phone-tools: new sms-pdu-decode backslash escapes
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 25 Mar 2021 05:10:43 +0000
parents dbb54db721d1
children
line wrap: on
line source

ENTRY(_entry)
SECTIONS
{
    /* flash boot */
    .vectors 0 : {
        *(.vectors)
    }

    .magic 0x2000 : {
        *(.magic)
    }

    /* main code */
    .text 0x4000 : {
        /* regular code */
        *(.text*)
        /* gcc voodoo */
        *(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx)
        . = ALIGN(4);
    }

    /* read-only data */
    . = ALIGN(4);
    .rodata : {
        *(.rodata*)
    }

    /* cannot have any initialized data */
    /DISCARD/ : {
        *(.data)
    }

    /* uninitialized data */
    .bss 0x83C000 (NOLOAD) : {
        . = ALIGN(4);
        __bss_start = .;
        *(.bss)
    }
    . = ALIGN(4);
    __bss_end = .;
    /* end of image */
    _end = .;
    PROVIDE(end = .);
}

stack_bottom = 0x83FFFC;