forked from Imagelibrary/rtems
Fixed wrong section size symbols.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2008-09-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
|
* startup/linkcmds.base: Fixed wrong section size symbols.
|
||||||
|
|
||||||
2008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, include/bsp.h, network_5200/network.c, start/start.S,
|
* Makefile.am, include/bsp.h, network_5200/network.c, start/start.S,
|
||||||
|
|||||||
@@ -131,10 +131,9 @@ SECTIONS {
|
|||||||
. = ALIGN (bsp_section_align);
|
. = ALIGN (bsp_section_align);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BSP: End and size of text section
|
* BSP: End of text section
|
||||||
*/
|
*/
|
||||||
bsp_section_text_end = .;
|
bsp_section_text_end = .;
|
||||||
bsp_section_text_size = bsp_section_text_end - bsp_section_text_start;
|
|
||||||
} > RAM
|
} > RAM
|
||||||
|
|
||||||
.data : {
|
.data : {
|
||||||
@@ -219,10 +218,9 @@ SECTIONS {
|
|||||||
PROVIDE (edata = .);
|
PROVIDE (edata = .);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BSP: End and size of data section
|
* BSP: End of data section
|
||||||
*/
|
*/
|
||||||
bsp_section_data_end = .;
|
bsp_section_data_end = .;
|
||||||
bsp_section_data_size = bsp_section_data_end - bsp_section_data_start;
|
|
||||||
} > RAM
|
} > RAM
|
||||||
|
|
||||||
.sbss : {
|
.sbss : {
|
||||||
@@ -254,25 +252,30 @@ SECTIONS {
|
|||||||
PROVIDE (end = .);
|
PROVIDE (end = .);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BSP: End and size of bss section
|
* BSP: End of bss section
|
||||||
*/
|
*/
|
||||||
bsp_section_bss_end = .;
|
bsp_section_bss_end = .;
|
||||||
bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_start;
|
|
||||||
} > RAM
|
} > RAM
|
||||||
|
|
||||||
|
/*
|
||||||
|
* BSP: Section sizes
|
||||||
|
*/
|
||||||
|
bsp_section_text_size = bsp_section_text_end - bsp_section_text_start;
|
||||||
|
bsp_section_data_size = bsp_section_data_end - bsp_section_data_start;
|
||||||
|
bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_start;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BSP: Interrupt stack
|
* BSP: Interrupt stack
|
||||||
*/
|
*/
|
||||||
bsp_interrupt_stack_start = .;
|
bsp_interrupt_stack_start = bsp_section_bss_end;
|
||||||
bsp_interrupt_stack_end = bsp_interrupt_stack_start + 32k;
|
bsp_interrupt_stack_end = bsp_interrupt_stack_start + 32k;
|
||||||
bsp_interrupt_stack_size = bsp_interrupt_stack_end - bsp_interrupt_stack_start;
|
bsp_interrupt_stack_size = bsp_interrupt_stack_end - bsp_interrupt_stack_start;
|
||||||
. = bsp_interrupt_stack_end;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BSP: Work area start
|
* BSP: Work area start
|
||||||
*/
|
*/
|
||||||
bsp_work_area_start = .;
|
bsp_work_area_start = bsp_interrupt_stack_end;
|
||||||
WorkAreaBase = .;
|
WorkAreaBase = bsp_work_area_start;
|
||||||
|
|
||||||
/* Stabs debugging sections. */
|
/* Stabs debugging sections. */
|
||||||
.stab 0 : { *(.stab) }
|
.stab 0 : { *(.stab) }
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2008-09-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
|
* startup/linkcmds.base: Fixed wrong section size symbols.
|
||||||
|
|
||||||
2008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, include/bsp.h, start/start.S, startup/bspstart.c,
|
* Makefile.am, include/bsp.h, start/start.S, startup/bspstart.c,
|
||||||
|
|||||||
@@ -137,10 +137,9 @@ SECTIONS {
|
|||||||
. = ALIGN (bsp_section_align);
|
. = ALIGN (bsp_section_align);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BSP: End and size of text section
|
* BSP: End of text section
|
||||||
*/
|
*/
|
||||||
bsp_section_text_end = .;
|
bsp_section_text_end = .;
|
||||||
bsp_section_text_size = bsp_section_text_end - bsp_section_text_start;
|
|
||||||
} > RAM
|
} > RAM
|
||||||
|
|
||||||
.data : {
|
.data : {
|
||||||
@@ -225,10 +224,9 @@ SECTIONS {
|
|||||||
PROVIDE (edata = .);
|
PROVIDE (edata = .);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BSP: End and size of data section
|
* BSP: End of data section
|
||||||
*/
|
*/
|
||||||
bsp_section_data_end = .;
|
bsp_section_data_end = .;
|
||||||
bsp_section_data_size = bsp_section_data_end - bsp_section_data_start;
|
|
||||||
} > RAM
|
} > RAM
|
||||||
|
|
||||||
.sbss : {
|
.sbss : {
|
||||||
@@ -260,25 +258,30 @@ SECTIONS {
|
|||||||
PROVIDE (end = .);
|
PROVIDE (end = .);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BSP: End and size of bss section
|
* BSP: End of bss section
|
||||||
*/
|
*/
|
||||||
bsp_section_bss_end = .;
|
bsp_section_bss_end = .;
|
||||||
bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_start;
|
|
||||||
} > RAM
|
} > RAM
|
||||||
|
|
||||||
|
/*
|
||||||
|
* BSP: Section sizes
|
||||||
|
*/
|
||||||
|
bsp_section_text_size = bsp_section_text_end - bsp_section_text_start;
|
||||||
|
bsp_section_data_size = bsp_section_data_end - bsp_section_data_start;
|
||||||
|
bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_start;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BSP: Interrupt stack
|
* BSP: Interrupt stack
|
||||||
*/
|
*/
|
||||||
bsp_interrupt_stack_start = .;
|
bsp_interrupt_stack_start = bsp_section_bss_end;
|
||||||
bsp_interrupt_stack_end = bsp_interrupt_stack_start + 32k;
|
bsp_interrupt_stack_end = bsp_interrupt_stack_start + 32k;
|
||||||
bsp_interrupt_stack_size = bsp_interrupt_stack_end - bsp_interrupt_stack_start;
|
bsp_interrupt_stack_size = bsp_interrupt_stack_end - bsp_interrupt_stack_start;
|
||||||
. = bsp_interrupt_stack_end;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BSP: Work area start
|
* BSP: Work area start
|
||||||
*/
|
*/
|
||||||
bsp_work_area_start = .;
|
bsp_work_area_start = bsp_interrupt_stack_end;
|
||||||
WorkAreaBase = .;
|
WorkAreaBase = bsp_work_area_start;
|
||||||
|
|
||||||
/* Stabs debugging sections. */
|
/* Stabs debugging sections. */
|
||||||
.stab 0 : { *(.stab) }
|
.stab 0 : { *(.stab) }
|
||||||
|
|||||||
Reference in New Issue
Block a user