<?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 Question about Linker file in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Question-about-Linker-file/m-p/508056#M3161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;In the *.ld file, I would like to know what is meaning of PAD() like below.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .heap&amp;nbsp;&amp;nbsp; ALIGN(16) PAD(1K)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : {} &amp;gt; int_sram&amp;nbsp;&amp;nbsp; /* Heap Area&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .stack&amp;nbsp; ALIGN(4)&amp;nbsp; PAD(STACK_SIZE) : {} &amp;gt; stack_ram&amp;nbsp; /* Stack Area */&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 May 2016 02:47:33 GMT</pubDate>
    <dc:creator>kiminkim</dc:creator>
    <dc:date>2016-05-09T02:47:33Z</dc:date>
    <item>
      <title>Question about Linker file</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Question-about-Linker-file/m-p/508056#M3161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;In the *.ld file, I would like to know what is meaning of PAD() like below.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .heap&amp;nbsp;&amp;nbsp; ALIGN(16) PAD(1K)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : {} &amp;gt; int_sram&amp;nbsp;&amp;nbsp; /* Heap Area&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .stack&amp;nbsp; ALIGN(4)&amp;nbsp; PAD(STACK_SIZE) : {} &amp;gt; stack_ram&amp;nbsp; /* Stack Area */&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 02:47:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Question-about-Linker-file/m-p/508056#M3161</guid>
      <dc:creator>kiminkim</dc:creator>
      <dc:date>2016-05-09T02:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Question about Linker file</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Question-about-Linker-file/m-p/508057#M3162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kiminkim" rel="nofollow noopener noreferrer" target="_blank"&gt;kiminkim&lt;/A&gt; You didn't wrote what your compiler is...&lt;/P&gt;&lt;P&gt;In case of GreenHills, it is explicitly written in the documentation:&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14627764846367504 jive_macro_code jive_text_macro" data-renderedposition="60_8_1192_208" jivemacro_uid="_14627764846367504"&gt;&lt;P&gt;PAD(value) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Places value bytes of padding (in zeros) at the beginning of the section. This is equivalent to specifying padding at the beginning of the section contents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, the following two definitions are equivalent:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; .stack pad(0x10000) : {}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; .stack&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : { . += 0x10000; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;I'll not call your question "stupid", but I think will be very helpful if you spend some time to read your compiler documentation and learn how to use search tool in the provided Help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 06:51:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Question-about-Linker-file/m-p/508057#M3162</guid>
      <dc:creator>alexvinchev</dc:creator>
      <dc:date>2016-05-09T06:51:12Z</dc:date>
    </item>
  </channel>
</rss>

