<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: Position-independent code for 5211/5212/5213</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Position-independent-code-for-5211-5212-5213/m-p/204584#M9598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I too need to write a position-independent app for Coldfire, and have found the documentation poor and lacking. Did you have any success and what steps did you take? Thanks.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2009 21:40:46 GMT</pubDate>
    <dc:creator>Ainslie</dc:creator>
    <dc:date>2009-02-17T21:40:46Z</dc:date>
    <item>
      <title>Position-independent code for 5211/5212/5213</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Position-independent-code-for-5211-5212-5213/m-p/204583#M9597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had another thread going here a while ago about a bootloader and we had some discussion about position-independent code going.&amp;nbsp; I thought I'd start a new thread focusing on that to see if anyone has input.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to generate position-independent code so I can have multiple images in the flash that can run independently and not have to compile for a particular position within the flash.&amp;nbsp; To do this, I apparently have to add .picdynrel and .piddynrel sections to my LCF (I assume that I'll also need to have the position-independent data as well) and I need to define the start, end and size of the pictable and pidtable.&amp;nbsp; I can't find any information that would tell me what these values should be.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, according to the help, I may need to make changes to library code and recompile it.&amp;nbsp; I tried to follow the directions given, but when I try to compile the existing code even without making any changes I get far more errors than I want to try to track down.&amp;nbsp; First of all, do I actually need to make a change to the library to support the simple case of wanting the code to only use relative addressing?&amp;nbsp; If I do, what kind of changes need to be made?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone successfully used CodeWarrior to compile and use position-indepenent code?&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 03:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Position-independent-code-for-5211-5212-5213/m-p/204583#M9597</guid>
      <dc:creator>EricT</dc:creator>
      <dc:date>2008-03-20T03:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Position-independent code for 5211/5212/5213</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Position-independent-code-for-5211-5212-5213/m-p/204584#M9598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I too need to write a position-independent app for Coldfire, and have found the documentation poor and lacking. Did you have any success and what steps did you take? Thanks.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 21:40:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Position-independent-code-for-5211-5212-5213/m-p/204584#M9598</guid>
      <dc:creator>Ainslie</dc:creator>
      <dc:date>2009-02-17T21:40:46Z</dc:date>
    </item>
  </channel>
</rss>

