<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 20, 2018 at 11:15 AM, Coleman, Dennis E <span dir="ltr"><<a href="mailto:Dennis.Coleman@gd-ms.com" target="_blank">Dennis.Coleman@gd-ms.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div class="m_-233660104861802618WordSection1">
<p class="MsoNormal">I’m developing for the LEON3FT using RTEMS 4.10.1.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I need to rebuild the LEON3 BSP with new compiler switches including the -ffunction-sections -fdata-sections for GNU Garbage Collection.<u></u><u></u></p>
<p class="MsoNormal">I’m looking for a “how to” reference that would walk me through which files to update in the RTEMS directory structure and how to clean and rebuild<u></u><u></u></p>
<p class="MsoNormal">all of the .a files under \sparc-rtems\leon3\lib.</p></div></div></blockquote><div><br></div><div>You are looking for c/src/lib/libbsp/sparc/leon3/make/custom/*cfg</div><div><br></div><div>If you check these file in 4.11.x, I think they will have those arguments added.</div><div><br></div><div>You will also have to modify the linkcmds to account for wildcards needed</div><div>in section names. Each function/data item will go in a unique section</div><div>and you need wildcards. Again the 4.11.x linker script for the leon3</div><div>should be a guide.</div><div><br></div><div>Is this is Gaisler release?</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div class="m_-233660104861802618WordSection1"><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks in advance for your help<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Dennis<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>
<br>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/users</a><br></blockquote></div><br></div></div>