Changeset a948e85d in rtems


Ignore:
Timestamp:
Sep 22, 2008, 11:30:51 AM (11 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, master
Children:
88aad06
Parents:
5aeed17
Message:

Fixed wrong section size symbols.

Location:
c/src/lib/libbsp/powerpc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/gen5200/ChangeLog

    r5aeed17 ra948e85d  
     12008-09-22      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * startup/linkcmds.base: Fixed wrong section size symbols.
     4
    152008-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds.base

    r5aeed17 ra948e85d  
    132132
    133133                /*
    134                  * BSP: End and size of text section
     134                 * BSP: End of text section
    135135                 */
    136136                bsp_section_text_end = .;
    137                 bsp_section_text_size = bsp_section_text_end - bsp_section_text_start;
    138137        } > RAM
    139138
     
    220219
    221220                /*
    222                  * BSP: End and size of data section
     221                 * BSP: End of data section
    223222                 */
    224223                bsp_section_data_end = .;
    225                 bsp_section_data_size = bsp_section_data_end - bsp_section_data_start;
    226224        } > RAM
    227225
     
    255253
    256254                /*
    257                  * BSP: End and size of bss section
     255                 * BSP: End of bss section
    258256                 */
    259257                bsp_section_bss_end = .;
    260                 bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_start;
    261         } > RAM
     258        } > RAM
     259
     260        /*
     261         * BSP: Section sizes
     262         */
     263        bsp_section_text_size = bsp_section_text_end - bsp_section_text_start;
     264        bsp_section_data_size = bsp_section_data_end - bsp_section_data_start;
     265        bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_start;
    262266
    263267        /*
    264268         * BSP: Interrupt stack
    265269         */
    266         bsp_interrupt_stack_start = .;
     270        bsp_interrupt_stack_start = bsp_section_bss_end;
    267271        bsp_interrupt_stack_end = bsp_interrupt_stack_start + 32k;
    268272        bsp_interrupt_stack_size = bsp_interrupt_stack_end - bsp_interrupt_stack_start;
    269         . = bsp_interrupt_stack_end;
    270273
    271274        /*
    272275         * BSP: Work area start
    273276         */
    274         bsp_work_area_start = .;
    275         WorkAreaBase = .;
     277        bsp_work_area_start = bsp_interrupt_stack_end;
     278        WorkAreaBase = bsp_work_area_start;
    276279       
    277280        /* Stabs debugging sections.  */
  • c/src/lib/libbsp/powerpc/gen83xx/ChangeLog

    r5aeed17 ra948e85d  
     12008-09-22      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * startup/linkcmds.base: Fixed wrong section size symbols.
     4
    152008-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • c/src/lib/libbsp/powerpc/gen83xx/startup/linkcmds.base

    r5aeed17 ra948e85d  
    138138
    139139                /*
    140                  * BSP: End and size of text section
     140                 * BSP: End of text section
    141141                 */
    142142                bsp_section_text_end = .;
    143                 bsp_section_text_size = bsp_section_text_end - bsp_section_text_start;
    144143        } > RAM
    145144
     
    226225
    227226                /*
    228                  * BSP: End and size of data section
     227                 * BSP: End of data section
    229228                 */
    230229                bsp_section_data_end = .;
    231                 bsp_section_data_size = bsp_section_data_end - bsp_section_data_start;
    232230        } > RAM
    233231
     
    261259
    262260                /*
    263                  * BSP: End and size of bss section
     261                 * BSP: End of bss section
    264262                 */
    265263                bsp_section_bss_end = .;
    266                 bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_start;
    267         } > RAM
     264        } > RAM
     265
     266        /*
     267         * BSP: Section sizes
     268         */
     269        bsp_section_text_size = bsp_section_text_end - bsp_section_text_start;
     270        bsp_section_data_size = bsp_section_data_end - bsp_section_data_start;
     271        bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_start;
    268272
    269273        /*
    270274         * BSP: Interrupt stack
    271275         */
    272         bsp_interrupt_stack_start = .;
     276        bsp_interrupt_stack_start = bsp_section_bss_end;
    273277        bsp_interrupt_stack_end = bsp_interrupt_stack_start + 32k;
    274278        bsp_interrupt_stack_size = bsp_interrupt_stack_end - bsp_interrupt_stack_start;
    275         . = bsp_interrupt_stack_end;
    276279
    277280        /*
    278281         * BSP: Work area start
    279282         */
    280         bsp_work_area_start = .;
    281         WorkAreaBase = .;
     283        bsp_work_area_start = bsp_interrupt_stack_end;
     284        WorkAreaBase = bsp_work_area_start;
    282285       
    283286        /* Stabs debugging sections.  */
Note: See TracChangeset for help on using the changeset viewer.