Hint Wanted on Debugging Unexpected Section
Joel Sherrill
joel at rtems.org
Mon Jul 4 17:57:16 UTC 2016
Hi
I have an unexpected section error on linking a BSP. It is a new BSP but
development is early so I am using a direct copy of psim's linkcmds.
/home/joel/rtems-4.11-work/tools/4.12/lib/gcc/powerpc-rtems4.12/6.1.1/../../../../powerpc-rtems4.12/bin/ld:
hello.exe section `.unexpected_sections' will not fit in region
`UNEXPECTED_SECTIONS'
/home/joel/rtems-4.11-work/tools/4.12/lib/gcc/powerpc-rtems4.12/6.1.1/../../../../powerpc-rtems4.12/bin/ld:
section .unexpected_sections loaded at [00000000,000000a7] overlaps section
.text loaded at [00000000,0001fc97]
/home/joel/rtems-4.11-work/tools/4.12/lib/gcc/powerpc-rtems4.12/6.1.1/../../../../powerpc-rtems4.12/bin/ld:
region `UNEXPECTED_SECTIONS' overflowed by 169 bytes
collect2: error: ld returned 1 exit status
Any help in narrowing down the unknown is appreciated.
I wonder whether the unexpected will be something scary like a ghost
or pleasant like a long lost friend or USD20 on the ground. :)
--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160704/b3ba8c21/attachment.html>
More information about the devel
mailing list