<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: S32DS_power gcc lib issue in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-power-gcc-lib-issue/m-p/704007#M1761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Stanislav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp;It is very useful for us.&lt;/P&gt;&lt;P&gt;Could you please help to explain&amp;nbsp;each of the&amp;nbsp;crtbegin, crtend, libgcc, ecrti, ecrtn files used for? Or any document for us to study?&lt;/P&gt;&lt;P&gt;Customer also have a question that if they can put the static code&amp;nbsp;together in the end of the code?If yes, How to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Remi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Oct 2017 03:21:37 GMT</pubDate>
    <dc:creator>b51447</dc:creator>
    <dc:date>2017-10-25T03:21:37Z</dc:date>
    <item>
      <title>S32DS_power gcc lib issue</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-power-gcc-lib-issue/m-p/704005#M1759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the S32DS_power v1.1 and v1.2 to new&amp;nbsp;a&amp;nbsp;project of MPC5606B. However, there are different in the .map files. The v1.2 project add the libgcc, crtbegin, crtend etc. library in the .text and .init file, while the v1.1 project does not have it.&lt;/P&gt;&lt;P&gt;Could you please help to explain this issue? Customer&amp;nbsp;concerns that&amp;nbsp;it will increase the size of the .init and .text sections. And it is the black box for customer.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338971"&gt;MPC5606B_TEST_V1.2.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338971"&gt;MPC5606B_TEST_V1.1.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338971"&gt;MPC5606B_TEST_V1.2.map.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338971"&gt;MPC5606B_TEST_V1.1.map.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 08:53:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-power-gcc-lib-issue/m-p/704005#M1759</guid>
      <dc:creator>b51447</dc:creator>
      <dc:date>2017-10-13T08:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS_power gcc lib issue</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-power-gcc-lib-issue/m-p/704006#M1760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;S32DS power v1.2 includes the new version of gcc which is now fully EABI compliant (in contrast to previous versions).&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-335361"&gt;HOWTO: Migrate project created in S32DS Power v1.x into v1.2+&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are new mandatory linker sections required which are btw. also present &amp;nbsp;in GCC version for ARM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If these sections and related initialization routines are missing it basically causes some EABI compliance issues:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/448479"&gt;Constructors of Global Variables Are Not Being Called&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/383163"&gt;newlib and standard c++ library&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore an&amp;nbsp;extra&amp;nbsp;code to preform global object initialization (e.g. Constructor/Destructor init) which applies to both C and C++ project has been added. This is a static code size that doesn't grow with the project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Several sections are just placeholders for C++ projects and has zero size for C project (.fini_array, init_array ... sections) so you don't have to worry about the code size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it &amp;nbsp;helps&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 14:16:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-power-gcc-lib-issue/m-p/704006#M1760</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2017-10-16T14:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS_power gcc lib issue</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-power-gcc-lib-issue/m-p/704007#M1761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Stanislav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp;It is very useful for us.&lt;/P&gt;&lt;P&gt;Could you please help to explain&amp;nbsp;each of the&amp;nbsp;crtbegin, crtend, libgcc, ecrti, ecrtn files used for? Or any document for us to study?&lt;/P&gt;&lt;P&gt;Customer also have a question that if they can put the static code&amp;nbsp;together in the end of the code?If yes, How to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Remi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 03:21:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-power-gcc-lib-issue/m-p/704007#M1761</guid>
      <dc:creator>b51447</dc:creator>
      <dc:date>2017-10-25T03:21:37Z</dc:date>
    </item>
  </channel>
</rss>

