<?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>CodeWarrior Development Toolsのトピックillegal use of frame pointer (r31) in statement level assembler - mingw32-make: ***</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/illegal-use-of-frame-pointer-r31-in-statement-level-assembler/m-p/1555925#M8895</link>
    <description>&lt;P&gt;When compiling a project with CW PA, I get this error:&amp;nbsp;&amp;nbsp;illegal use of frame pointer (r31) in statement level assembler / mingw32-make: ***.&amp;nbsp; In fact, in a C-file, there are parts in Assembly. In those parts, we manipulate the registers. And it seems that CodeWarrior doesn't accept such manipulations on r31. It there a way to bypass this verification?&lt;/P&gt;&lt;P&gt;Just to clarify the situation, I started the project with source code for WindRiver compiler. We are looking to switch with CodeWarrior. Our current processor is P1020, which is at the end of life. We target to replace it with T1024 (Power Architecture).&amp;nbsp; In the WindRiver documentation, there is a whole chapiter for the calling conventions. There isn't such chapiter in this document "CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual". Is there a document giving details for the CW PA Calling Conventions?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help,&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 16:41:49 GMT</pubDate>
    <dc:creator>afleury</dc:creator>
    <dc:date>2022-11-17T16:41:49Z</dc:date>
    <item>
      <title>illegal use of frame pointer (r31) in statement level assembler - mingw32-make: ***</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/illegal-use-of-frame-pointer-r31-in-statement-level-assembler/m-p/1555925#M8895</link>
      <description>&lt;P&gt;When compiling a project with CW PA, I get this error:&amp;nbsp;&amp;nbsp;illegal use of frame pointer (r31) in statement level assembler / mingw32-make: ***.&amp;nbsp; In fact, in a C-file, there are parts in Assembly. In those parts, we manipulate the registers. And it seems that CodeWarrior doesn't accept such manipulations on r31. It there a way to bypass this verification?&lt;/P&gt;&lt;P&gt;Just to clarify the situation, I started the project with source code for WindRiver compiler. We are looking to switch with CodeWarrior. Our current processor is P1020, which is at the end of life. We target to replace it with T1024 (Power Architecture).&amp;nbsp; In the WindRiver documentation, there is a whole chapiter for the calling conventions. There isn't such chapiter in this document "CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual". Is there a document giving details for the CW PA Calling Conventions?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help,&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 16:41:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/illegal-use-of-frame-pointer-r31-in-statement-level-assembler/m-p/1555925#M8895</guid>
      <dc:creator>afleury</dc:creator>
      <dc:date>2022-11-17T16:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: illegal use of frame pointer (r31) in statement level assembler - mingw32-make: ***</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/illegal-use-of-frame-pointer-r31-in-statement-level-assembler/m-p/1562679#M8896</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Would you please provide your C source file to cause the compile issue?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please refer to the attached document for the compiler.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 08:51:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/illegal-use-of-frame-pointer-r31-in-statement-level-assembler/m-p/1562679#M8896</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-12-01T08:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: illegal use of frame pointer (r31) in statement level assembler - mingw32-make: ***</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/illegal-use-of-frame-pointer-r31-in-statement-level-assembler/m-p/1562893#M8897</link>
      <description>&lt;P&gt;Hi yipingwang,&lt;/P&gt;&lt;P&gt;A work colleague had already worked on this problem before me and he took the initiative to replace r31 by r29 and r30 by r28. That's what I did myself. However, I would like to know which registers I can use for future reference.&lt;/P&gt;&lt;P&gt;Please refer to the attached c-file for the single C function with assembly parts&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 15:16:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/illegal-use-of-frame-pointer-r31-in-statement-level-assembler/m-p/1562893#M8897</guid>
      <dc:creator>afleury</dc:creator>
      <dc:date>2022-12-01T15:16:21Z</dc:date>
    </item>
  </channel>
</rss>

