Hello Joel, please use the linker command files of the qoriq BSPs as a template on PowerPC.
You can use the linker map file to figure out which sections a the trouble maker (-Wl,-Map,map.txt). ----- Am 4. Jul 2016 um 19:57 schrieb Joel Sherrill j...@rtems.org: > 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 > > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel