Changeset b0cb645 in rtems


Ignore:
Timestamp:
Jun 23, 2010, 8:04:00 AM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
b18fd86
Parents:
68b49f1
Message:

2010-06-21 Sebastian Huber <sebastian.huber@…>

  • shared/startup/linkcmds.base: Define bsp_vector_table_size unconditionally. Use bsp_vector_table_in_start_section.
Location:
c/src/lib/libbsp/arm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/ChangeLog

    r68b49f1 rb0cb645  
     12010-06-21      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * shared/startup/linkcmds.base: Define bsp_vector_table_size
     4        unconditionally.  Use bsp_vector_table_in_start_section.
     5
    162010-06-21      Sebastian Huber <sebastian.huber@embedded-brains.de>
    27
  • c/src/lib/libbsp/arm/shared/startup/linkcmds.base

    r68b49f1 rb0cb645  
    2525ENTRY (start)
    2626
     27bsp_vector_table_size = 64;
     28
    2729/*
    2830 * BSP: Global symbols that may be defined externally
     
    5961bsp_stack_und_size = ALIGN (bsp_stack_und_size, bsp_stack_align);
    6062
    61 bsp_vector_table_size = DEFINED (bsp_vector_table_size) ? bsp_vector_table_size : 64;
    62 
    6363SECTIONS {
    6464        .start : {
     
    9494                 * the pointers to the default exceptions handlers.
    9595                 */
    96                 . = . + bsp_vector_table_size;
     96                . = . + DEFINED (bsp_vector_table_in_start_section) ? 0 : bsp_vector_table_size;
    9797
    9898                /*
     
    137137        bsp_section_vector_size = bsp_section_vector_end - bsp_section_vector_begin;
    138138
    139         bsp_vector_table_begin = bsp_vector_table_size != 0 ? bsp_section_vector_begin : bsp_section_start_begin;
     139        bsp_vector_table_begin = DEFINED (bsp_vector_table_in_start_section) ? bsp_section_start_begin : bsp_section_vector_begin;
    140140        bsp_vector_table_end = bsp_vector_table_begin + bsp_vector_table_size;
    141141
    142142        .vbarrier : {
    143143                . = ALIGN (bsp_section_vbarrier_align);
    144         } > REGION_VECTOR
     144        } > REGION_VECTOR
    145145
    146146        .text : {
     
    235235        .robarrier : {
    236236                . = ALIGN (bsp_section_robarrier_align);
    237         } > REGION_RODATA
     237        } > REGION_RODATA
    238238
    239239        .data : {
Note: See TracChangeset for help on using the changeset viewer.