<?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: linker file ABS in S32K</title>
    <link>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1966566#M41605</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187044"&gt;@kjy106906&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ABS stands for absolute: not adjusted to any section address's relocation.&lt;/P&gt;
&lt;P&gt;The absolute (un-moveable) symbols are there to support embedded development, where locating elements at absolute addresses in memory is required. Normally, such symbols would be produced only when cross-compiling for an embedded system, using C language extensions that allow the absolute address to be specified.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2024 19:13:14 GMT</pubDate>
    <dc:creator>VaneB</dc:creator>
    <dc:date>2024-10-03T19:13:14Z</dc:date>
    <item>
      <title>linker file ABS</title>
      <link>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1965554#M41526</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;In the linker file, what does the ABS below mean? It seems to be an absolute address, but please explain in detail.&lt;/P&gt;&lt;P&gt;linker_flash_s32K312.ld&lt;/P&gt;&lt;P&gt;.ramcode ABS ALIGN(4) : &amp;gt; .&lt;BR /&gt;.data&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ALIGN(4) : &amp;gt; .&lt;BR /&gt;.mcal_data&amp;nbsp; &amp;nbsp; &amp;nbsp;ALIGN(4) : &amp;gt; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 07:54:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1965554#M41526</guid>
      <dc:creator>kjy106906</dc:creator>
      <dc:date>2024-10-02T07:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: linker file ABS</title>
      <link>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1966566#M41605</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187044"&gt;@kjy106906&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ABS stands for absolute: not adjusted to any section address's relocation.&lt;/P&gt;
&lt;P&gt;The absolute (un-moveable) symbols are there to support embedded development, where locating elements at absolute addresses in memory is required. Normally, such symbols would be produced only when cross-compiling for an embedded system, using C language extensions that allow the absolute address to be specified.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 19:13:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1966566#M41605</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-10-03T19:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: linker file ABS</title>
      <link>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1967231#M41647</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;I don't understand.&lt;BR /&gt;Ram code has ABS attached,&lt;BR /&gt;but can't the address change depending on the size of the bss above?&lt;/P&gt;&lt;P&gt;.standby_data ABS MAX_SIZE(0x8000) ALIGN(8) : &amp;gt; int_sram&lt;BR /&gt;.bss (NOLOAD)&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ALIGN(16) : &amp;gt; .&lt;BR /&gt;.mcal_bss (NOLOAD)&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; &amp;nbsp; &amp;nbsp; &amp;nbsp;ALIGN(16) : &amp;gt; .&lt;BR /&gt;__BSS_SRAM_END = align(4);&lt;/P&gt;&lt;P&gt;.ramcode&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ABS ALIGN(4) : &amp;gt; .&lt;BR /&gt;.data&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; &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ALIGN(4) : &amp;gt; .&lt;BR /&gt;.mcal_data&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ALIGN(4) : &amp;gt; .&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2024 04:44:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1967231#M41647</guid>
      <dc:creator>kjy106906</dc:creator>
      <dc:date>2024-10-05T04:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: linker file ABS</title>
      <link>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1968127#M41718</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187044"&gt;@kjy106906&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ALIGN(n) instructs the compiler to align a variable on an n-byte boundary starting from the ORIGIN address. This just limits the location of a memory region to a certain n-byte size, this should not interfere with other memory regions as the memory region size does not exceed the n-byte boundary.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 20:21:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1968127#M41718</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-10-07T20:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: linker file ABS</title>
      <link>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1968208#M41726</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;I didn't understand.&lt;BR /&gt;As the bss variable is added,&lt;BR /&gt;doesn't the ramcode address get pushed out?&lt;BR /&gt;I wonder what the effect of ABS is here.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 23:09:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1968208#M41726</guid>
      <dc:creator>kjy106906</dc:creator>
      <dc:date>2024-10-07T23:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: linker file ABS</title>
      <link>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1970213#M41857</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187044"&gt;@kjy106906&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;bss id defined as&amp;nbsp;NOLOAD. The NOLOAD defines a section that is required to link the program properly but must not be loaded to memory. For example you may need to link your program with some code located in ROM, so you tell the linker to mark the code in ROM as NOLOAD. Then the tool that will load the program (a debugger, an OS or whatever) will not load this part of the code.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 17:25:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1970213#M41857</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-10-09T17:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: linker file ABS</title>
      <link>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1970647#M41864</link>
      <description>&lt;P&gt;Sorry. I didn't understand.&lt;BR /&gt;Explaining with an example of .map file&lt;BR /&gt;case 1. standbyram size 0, bss size 16, mcal_bss size 0 -&amp;gt; ramcode address = 0x20400010&lt;BR /&gt;case 1. standbyram size 0, bss size 32, mcal_bss size 0 -&amp;gt; ramcode address = 0x20400020&lt;BR /&gt;In this case, the ramcode address changes, but I don't know what role ABS plays.&lt;/P&gt;&lt;P&gt;.standby_data ABS MAX_SIZE(0x8000) ALIGN(8) : &amp;gt; int_sram&lt;BR /&gt;.bss (NOLOAD)&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ALIGN(16) : &amp;gt; .&lt;BR /&gt;.mcal_bss (NOLOAD)&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; &amp;nbsp; &amp;nbsp; &amp;nbsp;ALIGN(16) : &amp;gt; .&lt;BR /&gt;__BSS_SRAM_END = align(4);&lt;/P&gt;&lt;P&gt;.ramcode&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ABS ALIGN(4) : &amp;gt; .&lt;BR /&gt;.data&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; &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ALIGN(4) : &amp;gt; .&lt;BR /&gt;.mcal_data&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ALIGN(4) : &amp;gt; .&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 23:09:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1970647#M41864</guid>
      <dc:creator>kjy106906</dc:creator>
      <dc:date>2024-10-09T23:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: linker file ABS</title>
      <link>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1971580#M41905</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187044"&gt;@kjy106906&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As said before, ABS indicates that section address cannot be relocated once it has been loaded to memory.&lt;/P&gt;
&lt;P&gt;As the sections are mapped and aligned to a previously defined region, they should not overlap or interfere with each other.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 18:28:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/linker-file-ABS/m-p/1971580#M41905</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-10-10T18:28:23Z</dc:date>
    </item>
  </channel>
</rss>

