This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

what is *(.glue_7) in the output section of Text segment for ARM7(LPC2300) series

Hi, In the Linker Descriptor file, we have a SECTION called Output section. In this all the Text, data and bss segments are defined. In text segment i didn't understamd *(.glue_7) and *(.glue_7t). Can any one tell me what are those two????

SECTIONS
{
        . = 0;                                                          /* set location counter to address zero  */

        startup : { *(.startup)} >flash              /* the startup code goes into FLASH */



        .text :                                                         /* collect all sections that should go into FLASH after startup  */
        {
                *(.text)                                                /* all .text sections (code)  */
                *(.rodata)                                              /* all .rodata sections (constants, strings, etc.)  */
                *(.rodata*)                                             /* all .rodata* sections (constants, strings, etc.)  */
                *(.glue_7)                                              /* all .glue_7 sections  (no idea what these are) */
                *(.glue_7t)                                             /* all .glue_7t sections (no idea what these are) */
                _etext = .;                                             /* define a global symbol _etext just after the last code byte */
        } >flash                                                     /* put all the above into FLASH */




        .data :                                                         /* collect all initialized .data sections that go into RAM  */
        {
                _data = .;                                              /* create a global symbol marking the start of the .data section  */
                *(.data)                                                /* all .data sections  */
                _edata = .;                                             /* define a global symbol marking the end of the .data section  */
        } >ram AT >flash                                  /* put all the above into RAM (but load the LMA copy into FLASH) */

        .bss :                                                          /* collect all uninitialized .bss sections that go into RAM  */
        {
                _bss_start = .;                                 /* define a global symbol marking the start of the .bss section */
                *(.bss)                                                 /* all .bss sections  */
        } >ram                                                               /* put all the above in RAM (it will be cleared in the startup code */

        . = ALIGN(4);                                           /* advance location counter to the next 32-bit boundary */
        _bss_end = . ;                                          /* define a global symbol marking the end of the .bss section */
}


Thanks in Advance.

0