Changeset 0d671d70 in rtems


Ignore:
Timestamp:
May 27, 2013, 10:43:53 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
9984acd
Parents:
cab410f
git-author:
Sebastian Huber <sebastian.huber@…> (05/27/13 10:43:53)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/27/13 10:49:13)
Message:

bsps/arm: Move .fast_text section

Move the .fast_text section after the .vector section. The .fast_test
section is normally not empty in case some functions should execute from
an internal SRAM. This would be also the area for the .vector section.
The vector table must be the first content of such an area.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/shared/startup/linkcmds.base

    rcab410f r0d671d70  
    7373                . = ALIGN (bsp_section_xbarrier_align);
    7474        } > REGION_VECTOR
    75 
    76         .fast_text : {
    77                 bsp_section_fast_text_begin = .;
    78                 *(.bsp_fast_text)
    79                 bsp_section_fast_text_end = .;
    80         } > REGION_FAST_TEXT AT > REGION_FAST_TEXT_LOAD
    81         bsp_section_fast_text_size = bsp_section_fast_text_end - bsp_section_fast_text_begin;
    82         bsp_section_fast_text_load_begin = LOADADDR (.fast_text);
    83         bsp_section_fast_text_load_end = bsp_section_fast_text_load_begin + bsp_section_fast_text_size;
    8475
    8576        .text : ALIGN(32) {
     
    341332        bsp_vector_table_begin = DEFINED (bsp_vector_table_in_start_section) ? bsp_section_start_begin : bsp_section_vector_begin;
    342333        bsp_vector_table_end = bsp_vector_table_begin + bsp_vector_table_size;
     334
     335        .fast_text : {
     336                bsp_section_fast_text_begin = .;
     337                *(.bsp_fast_text)
     338                bsp_section_fast_text_end = .;
     339        } > REGION_FAST_TEXT AT > REGION_FAST_TEXT_LOAD
     340        bsp_section_fast_text_size = bsp_section_fast_text_end - bsp_section_fast_text_begin;
     341        bsp_section_fast_text_load_begin = LOADADDR (.fast_text);
     342        bsp_section_fast_text_load_end = bsp_section_fast_text_load_begin + bsp_section_fast_text_size;
    343343
    344344        .fast_data : ALIGN(32) {
Note: See TracChangeset for help on using the changeset viewer.