<?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 Unsupported ELF relocation in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Unsupported-ELF-relocation/m-p/225892#M8889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when I try to link a lib to my project, I get the following linker error:&lt;/P&gt;&lt;P&gt;mwldeppc Linker Error:&lt;/P&gt;&lt;P&gt;#&amp;nbsp;&amp;nbsp; Unsupported ELF relocation (225)&lt;/P&gt;&lt;P&gt;#&amp;nbsp;&amp;nbsp; of symbol 'dp_workingMemory_i16'&lt;/P&gt;&lt;P&gt;#&amp;nbsp;&amp;nbsp; in 'xyz.o' of archive 'xyz_lib.lib'&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked into the relocation section with readelf -r and I suspect the problem only comes up for symbols of type R_PPC_VLE_SDA21. R_PPC_EMB_SDA21 seems to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 May 2013 08:00:25 GMT</pubDate>
    <dc:creator>sebastianhoernl</dc:creator>
    <dc:date>2013-05-06T08:00:25Z</dc:date>
    <item>
      <title>Unsupported ELF relocation</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Unsupported-ELF-relocation/m-p/225892#M8889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when I try to link a lib to my project, I get the following linker error:&lt;/P&gt;&lt;P&gt;mwldeppc Linker Error:&lt;/P&gt;&lt;P&gt;#&amp;nbsp;&amp;nbsp; Unsupported ELF relocation (225)&lt;/P&gt;&lt;P&gt;#&amp;nbsp;&amp;nbsp; of symbol 'dp_workingMemory_i16'&lt;/P&gt;&lt;P&gt;#&amp;nbsp;&amp;nbsp; in 'xyz.o' of archive 'xyz_lib.lib'&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked into the relocation section with readelf -r and I suspect the problem only comes up for symbols of type R_PPC_VLE_SDA21. R_PPC_EMB_SDA21 seems to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 08:00:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Unsupported-ELF-relocation/m-p/225892#M8889</guid>
      <dc:creator>sebastianhoernl</dc:creator>
      <dc:date>2013-05-06T08:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unsupported ELF relocation</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Unsupported-ELF-relocation/m-p/225893#M8890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for this question.&lt;/P&gt;&lt;P&gt;I assume the library was build by the different compiler then CodeWarrior.&lt;/P&gt;&lt;P&gt;This is probably a known issue logged in our defect database. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Some relocation VLE types are different in CodeWarrior. We are working on fix at the moment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Can you perhaps share your library with us? We can use it for fix testing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Stan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 11:31:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Unsupported-ELF-relocation/m-p/225893#M8890</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2013-07-01T11:31:56Z</dc:date>
    </item>
  </channel>
</rss>

