<?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 PowerPC 1.1: Serious linker bug in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-PowerPC-1-1-Serious-linker-bug/m-p/647897#M1038</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;quick update - this bug will be fixed in next (ver 1.2) S32DS release - &amp;nbsp;planned for the end of Q1 or beginning of the Q2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Feb 2017 12:37:19 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2017-02-20T12:37:19Z</dc:date>
    <item>
      <title>S32DS PowerPC 1.1: Serious linker bug</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-PowerPC-1-1-Serious-linker-bug/m-p/647893#M1034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is a bug in the linker doing symbol fixup.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have following code:&lt;/P&gt;&lt;P&gt;e_lis r2,ext_label@ha&lt;/P&gt;&lt;P&gt;e_add2i. r2,ext_label@l&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The generated opcodes are correct, but after linking (I guess it depend on the actual value of the label) I get (here it is 0xb0c):&lt;/P&gt;&lt;P&gt;e_lis r2, 0&lt;/P&gt;&lt;P&gt;e_add2i. r18,0x30c&lt;/P&gt;&lt;P&gt;----------------&lt;/P&gt;&lt;P&gt;The linker does simply replace the low-word of the opcode by "0xb0c", but the immediate is spread all over the opcode!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 13:21:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-PowerPC-1-1-Serious-linker-bug/m-p/647893#M1034</guid>
      <dc:creator>bastian_schick</dc:creator>
      <dc:date>2017-02-17T13:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS PowerPC 1.1: Serious linker bug</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-PowerPC-1-1-Serious-linker-bug/m-p/647894#M1035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another fix-up bug:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my code, sc_modules is a 0x400000000 (internal RAM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_add2is r4,sc_modules@ha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The linker produces&lt;/P&gt;&lt;P&gt;e_add2is r4,0x2000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, PowerPC GCC for VLE is not really usable. :smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 14:16:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-PowerPC-1-1-Serious-linker-bug/m-p/647894#M1035</guid>
      <dc:creator>bastian_schick</dc:creator>
      <dc:date>2017-02-17T14:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS PowerPC 1.1: Serious linker bug</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-PowerPC-1-1-Serious-linker-bug/m-p/647895#M1036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you a lot for your discovery and report &amp;nbsp;- I can confirm that this is a bug and for e_add2i. instruction is generated bad opcode (bad target register address). I'm going to create ticket for compiler team.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a workaround you can use OR instruction instead ADD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_lis r4, &amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;ext_label&lt;/SPAN&gt;@h&lt;BR /&gt; e_or2i r4, &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;ext_label&lt;/SPAN&gt;@l&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 09:37:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-PowerPC-1-1-Serious-linker-bug/m-p/647895#M1036</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2017-02-20T09:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS PowerPC 1.1: Serious linker bug</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-PowerPC-1-1-Serious-linker-bug/m-p/647896#M1037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri,&lt;/P&gt;&lt;P&gt;thanks for filing this as a bug.&lt;/P&gt;&lt;P&gt;But &lt;STRONG&gt;e_or2i&lt;/STRONG&gt; is no suitable replacement, as it does not set flags. Same for &lt;STRONG&gt;e_add16i &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 09:44:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-PowerPC-1-1-Serious-linker-bug/m-p/647896#M1037</guid>
      <dc:creator>bastian_schick</dc:creator>
      <dc:date>2017-02-20T09:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS PowerPC 1.1: Serious linker bug</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-PowerPC-1-1-Serious-linker-bug/m-p/647897#M1038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;quick update - this bug will be fixed in next (ver 1.2) S32DS release - &amp;nbsp;planned for the end of Q1 or beginning of the Q2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 12:37:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-PowerPC-1-1-Serious-linker-bug/m-p/647897#M1038</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2017-02-20T12:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS PowerPC 1.1: Serious linker bug</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-PowerPC-1-1-Serious-linker-bug/m-p/647898#M1039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the sources would be public available, I could maybe fix it myself.&lt;/P&gt;&lt;P&gt;I think S32DS and GCC should be separated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 10:18:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-PowerPC-1-1-Serious-linker-bug/m-p/647898#M1039</guid>
      <dc:creator>bastian_schick</dc:creator>
      <dc:date>2017-02-21T10:18:40Z</dc:date>
    </item>
  </channel>
</rss>

