diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-06-21 12:28:36 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-06-21 12:28:36 +0000 |
commit | c5d8d2dcef6d8afb9d2b7b49aa80bdceeb2391cc (patch) | |
tree | 42ab83199ce142da2cfa1ef6e45136313d86579d /c/src/lib/libbsp/arm/shared/startup/linkcmds.base | |
parent | 2010-06-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-c5d8d2dcef6d8afb9d2b7b49aa80bdceeb2391cc.tar.bz2 |
2010-06-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/start/start.S, shared/startup/linkcmds.base,
shared/include/linker-symbols.h: Added and use bsp_vector_table_begin,
bsp_vector_table_size and bsp_vector_table_end.
Diffstat (limited to 'c/src/lib/libbsp/arm/shared/startup/linkcmds.base')
-rw-r--r-- | c/src/lib/libbsp/arm/shared/startup/linkcmds.base | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/arm/shared/startup/linkcmds.base b/c/src/lib/libbsp/arm/shared/startup/linkcmds.base index 8e7764f5a3..4b092c59fa 100644 --- a/c/src/lib/libbsp/arm/shared/startup/linkcmds.base +++ b/c/src/lib/libbsp/arm/shared/startup/linkcmds.base @@ -58,6 +58,8 @@ bsp_stack_svc_size = ALIGN (bsp_stack_svc_size, bsp_stack_align); bsp_stack_und_size = DEFINED (bsp_stack_und_size) ? bsp_stack_und_size : 128; bsp_stack_und_size = ALIGN (bsp_stack_und_size, bsp_stack_align); +bsp_vector_table_size = DEFINED (bsp_vector_table_size) ? bsp_vector_table_size : 64; + SECTIONS { .start : { /* @@ -91,7 +93,7 @@ SECTIONS { * BSP: Reserve space for the the exception vector table and * the pointers to the default exceptions handlers. */ - . = . + 64; + . = . + bsp_vector_table_size; /* * BSP: Reserve space for mode stacks @@ -134,6 +136,9 @@ SECTIONS { bsp_section_vector_size = bsp_section_vector_end - bsp_section_vector_begin; + bsp_vector_table_begin = bsp_vector_table_size != 0 ? bsp_section_vector_begin : bsp_section_start_begin; + bsp_vector_table_end = bsp_vector_table_begin + bsp_vector_table_size; + .vbarrier : { . = ALIGN (bsp_section_vbarrier_align); } > REGION_VECTOR |