diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/tqm8xx/startup/linkcmds.base')
-rw-r--r-- | c/src/lib/libbsp/powerpc/tqm8xx/startup/linkcmds.base | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/startup/linkcmds.base b/c/src/lib/libbsp/powerpc/tqm8xx/startup/linkcmds.base index c4a0eec115..0525e5c915 100644 --- a/c/src/lib/libbsp/powerpc/tqm8xx/startup/linkcmds.base +++ b/c/src/lib/libbsp/powerpc/tqm8xx/startup/linkcmds.base @@ -18,6 +18,10 @@ bsp_rom_size = LENGTH (ROM); bsp_section_align = 32; +MEMORY { + UNEXPECTED_SECTIONS : ORIGIN = 0xffffffff, LENGTH = 0 +} + SECTIONS { dpram : @@ -306,11 +310,14 @@ SECTIONS { /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) } - + /* - * 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 } |