diff options
Diffstat (limited to 'bsps/powerpc/shared/start')
-rw-r--r-- | bsps/powerpc/shared/start/linkcmds.base | 7 | ||||
-rw-r--r-- | bsps/powerpc/shared/start/linkcmds.share | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/bsps/powerpc/shared/start/linkcmds.base b/bsps/powerpc/shared/start/linkcmds.base index de8087497c..521d69af92 100644 --- a/bsps/powerpc/shared/start/linkcmds.base +++ b/bsps/powerpc/shared/start/linkcmds.base @@ -343,6 +343,13 @@ SECTIONS { } > REGION_RTEMSSTACK AT > REGION_RTEMSSTACK bsp_section_rtemsstack_size = bsp_section_rtemsstack_end - bsp_section_rtemsstack_begin; + .noinit (NOLOAD) : ALIGN_WITH_INPUT { + bsp_section_noinit_begin = .; + *(.noinit*) + bsp_section_noinit_end = .; + } > REGION_WORK AT > REGION_WORK + bsp_section_noinit_size = bsp_section_noinit_end - bsp_section_noinit_begin; + .work : ALIGN_WITH_INPUT { /* * The work section will occupy the remaining REGION_WORK region and diff --git a/bsps/powerpc/shared/start/linkcmds.share b/bsps/powerpc/shared/start/linkcmds.share index deefbe2186..86b02cb18e 100644 --- a/bsps/powerpc/shared/start/linkcmds.share +++ b/bsps/powerpc/shared/start/linkcmds.share @@ -253,6 +253,9 @@ SECTIONS . = ALIGN(16); PROVIDE (__bss_end = .); } > CODE + .noinit (NOLOAD) : { + *(.noinit*) + } > CODE .rtemsstack (NOLOAD) : { *(SORT(.rtemsstack.*)) } >CODE |