diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen83xx/startup/linkcmds.base')
-rw-r--r-- | c/src/lib/libbsp/powerpc/gen83xx/startup/linkcmds.base | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/startup/linkcmds.base b/c/src/lib/libbsp/powerpc/gen83xx/startup/linkcmds.base index 6faeec1b70..9def5f0e88 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/startup/linkcmds.base +++ b/c/src/lib/libbsp/powerpc/gen83xx/startup/linkcmds.base @@ -22,6 +22,10 @@ RamBase = bsp_ram_start; RamSize = bsp_ram_size; HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0; +MEMORY { + UNEXPECTED_SECTIONS : ORIGIN = 0xffffffff, LENGTH = 0 +} + SECTIONS { /* * BSP: MPC83XX registers @@ -336,9 +340,12 @@ SECTIONS { } /* - * BSP: Catch all unknown sections + * This is a RTEMS specific section to catch all unexpected input + * sections. In case you get an error like + * "section `.unexpected_sections' will not fit in region + * `UNEXPECTED_SECTIONS'" + * you have to figure out the offending input section and add it to the + * appropriate output section definition above. */ - .nirvana : { - *(*) - } > NIRVANA + .unexpected_sections : { *(*) } > UNEXPECTED_SECTIONS } |