diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-08 13:29:56 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-08 13:34:40 +0200 |
commit | bc820946793426dbdc450dc8bba4a15d01006182 (patch) | |
tree | 0f688f3a9a916b69b5da514ed7c57ee1d297a49c /c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base | |
parent | bsp/qoriq: Add BMan and QMan Portals (diff) | |
download | rtems-bc820946793426dbdc450dc8bba4a15d01006182.tar.bz2 |
bsps: Add .nocacheheap section
This avoids consumption of a loadable address space for the nocache
heap.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base index 8d85dbf5af..d4f9007ba0 100644 --- a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base +++ b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base @@ -7,10 +7,10 @@ */ /* - * Copyright (c) 2011-2013 embedded brains GmbH. All rights reserved. + * Copyright (c) 2011-2015 embedded brains GmbH. All rights reserved. * * embedded brains GmbH - * Obere Lagerstr. 30 + * Dornierstr. 4 * 82178 Puchheim * Germany * <rtems@embedded-brains.de> @@ -342,11 +342,18 @@ SECTIONS { bsp_section_nocache_load_begin = LOADADDR (.nocache); bsp_section_nocache_load_end = bsp_section_nocache_load_begin + bsp_section_nocache_size; + .nocacheheap (NOLOAD) : ALIGN_WITH_INPUT { + bsp_section_nocacheheap_begin = .; + . += ORIGIN (REGION_NOCACHE) + LENGTH (REGION_NOCACHE) - ABSOLUTE (.); + bsp_section_nocacheheap_end = .; + } > REGION_NOCACHE AT > REGION_NOCACHE + bsp_section_nocacheheap_size = bsp_section_nocacheheap_end - bsp_section_nocacheheap_begin; + .nvram (NOLOAD) : ALIGN_WITH_INPUT { bsp_section_nvram_begin = .; *(SORT(.bsp_nvram*)) bsp_section_nvram_end = .; - } > REGION_NVRAM + } > REGION_NVRAM AT > REGION_NVRAM bsp_section_nvram_size = bsp_section_nvram_end - bsp_section_nvram_begin; /* FIXME */ |