<?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 How to remove STRTAB and SYMTAB sections from ELF using Codewarrior options. in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2020947#M9227</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to remove Debug Section (including STRTAB and SYMTAB) in ELF using Codewarrior compile options.&lt;/P&gt;&lt;P&gt;I set to Off for "Generate DWARF Information".&lt;/P&gt;&lt;P&gt;But, ELF still has STRTAB and SYMTAB sections.&lt;/P&gt;&lt;P&gt;Please let me know how to remove STRTAB and SYNTAB from ELF.&lt;/P&gt;&lt;P&gt;Can I use strip ccmd? If possible, let me know how to use it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Codewarrior Version : Version 11.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2025 01:59:49 GMT</pubDate>
    <dc:creator>Luke_K</dc:creator>
    <dc:date>2025-01-02T01:59:49Z</dc:date>
    <item>
      <title>How to remove STRTAB and SYMTAB sections from ELF using Codewarrior options.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2020947#M9227</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to remove Debug Section (including STRTAB and SYMTAB) in ELF using Codewarrior compile options.&lt;/P&gt;&lt;P&gt;I set to Off for "Generate DWARF Information".&lt;/P&gt;&lt;P&gt;But, ELF still has STRTAB and SYMTAB sections.&lt;/P&gt;&lt;P&gt;Please let me know how to remove STRTAB and SYNTAB from ELF.&lt;/P&gt;&lt;P&gt;Can I use strip ccmd? If possible, let me know how to use it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Codewarrior Version : Version 11.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 01:59:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2020947#M9227</guid>
      <dc:creator>Luke_K</dc:creator>
      <dc:date>2025-01-02T01:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove STRTAB and SYMTAB sections from ELF using Codewarrior options.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2021268#M9229</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210504"&gt;@Luke_K&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your post. I think you can use strip command to remove STRTAB and SYNTAB from ELF. Could you please try "strip --remove-section=.symtab file" and "strip --remove-section=.strtab file"?&lt;/P&gt;
&lt;P&gt;And could you please tell me which chip you are using?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it can help you.&lt;/P&gt;
&lt;P&gt;BRs,&lt;/P&gt;
&lt;P&gt;Celeste&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 10:48:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2021268#M9229</guid>
      <dc:creator>Celeste_Liu</dc:creator>
      <dc:date>2025-01-02T10:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove STRTAB and SYMTAB sections from ELF using Codewarrior options.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2022185#M9230</link>
      <description>&lt;P&gt;Hello Celeste_Liu,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;But, I don't know how to use your comments.&lt;/P&gt;&lt;P&gt;I am using MPC5674F.&lt;/P&gt;&lt;P&gt;Could you explain it in more detail, please?&lt;/P&gt;&lt;P&gt;I can't find any file releated to the "strip" at "Freescale" folder.&lt;/P&gt;&lt;P&gt;And, When I added your advice to the Post-build steps in CodeWarrior, I got an error saying that the 'strip' command could not be found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thnaks.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 02:23:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2022185#M9230</guid>
      <dc:creator>Luke_K</dc:creator>
      <dc:date>2025-01-06T02:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove STRTAB and SYMTAB sections from ELF using Codewarrior options.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2022249#M9231</link>
      <description>&lt;P&gt;Hello Celeste_Liu,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;But, I don't know how to use your comments.&lt;/P&gt;&lt;P&gt;I am using MPC5674F.&lt;/P&gt;&lt;P&gt;Could you explain it in more detail, please?&lt;/P&gt;&lt;P&gt;I can't find any file releated to the "strip" at "Freescale" folder.&lt;/P&gt;&lt;P&gt;And, When I added your advice to the Post-build steps in CodeWarrior, I got an error saying that the 'strip' command could not be found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thnaks.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 03:56:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2022249#M9231</guid>
      <dc:creator>Luke_K</dc:creator>
      <dc:date>2025-01-06T03:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove STRTAB and SYMTAB sections from ELF using Codewarrior options.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2023053#M9232</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210504"&gt;@Luke_K&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I haven't used MPC series chips before. I choose an ELF file of MC56F84789 for testing. The strip command can be used in the Ubuntu system. Unfortunately, the ELF format of MC56F84789 couldn't be recognized by it.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Celeste_Liu_0-1736233472683.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318348iECA86C3A9D8F9EF1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Celeste_Liu_0-1736233472683.png" alt="Celeste_Liu_0-1736233472683.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can try this command "strip -R.strtab -R.symtab xxx.elf" with your file.&amp;nbsp;I have another idea for your reference. You can directly generate the binary file format. It won't contain the contents of symtab and strtab, and the file size is much smaller compared to that of an elf.&amp;nbsp; file.&lt;/P&gt;
&lt;P&gt;Settings for generating BIN files in CodeWarrior:&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;Select your project, and then click project - properties.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Celeste_Liu_1-1736234128209.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318351i19DBB425FFE7FC58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Celeste_Liu_1-1736234128209.png" alt="Celeste_Liu_1-1736234128209.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;Find "generate binary flash image" according to the picture below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Celeste_Liu_2-1736234293058.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318353i70F9AF94E8FC677B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Celeste_Liu_2-1736234293058.png" alt="Celeste_Liu_2-1736234293058.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it can help you.&lt;/P&gt;
&lt;P&gt;BRs,&lt;/P&gt;
&lt;P&gt;Celeste&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 07:20:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2023053#M9232</guid>
      <dc:creator>Celeste_Liu</dc:creator>
      <dc:date>2025-01-07T07:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove STRTAB and SYMTAB sections from ELF using Codewarrior options.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2023084#M9233</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/237877" target="_self"&gt;&lt;SPAN class=""&gt;Celeste_Liu&lt;/SPAN&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Thanks for your kind reply.&lt;/P&gt;&lt;P&gt;I am using the CodeWarrior for MCU version 11.0.&lt;/P&gt;&lt;P&gt;My IDE is slightly different with images in your comments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are no "Generate ELF Symbol Table" and "Generate binary flash image" menus, but there is a "Generate ROM Image" menu.&lt;/P&gt;&lt;P&gt;The "Generate ROM Image" menu is always checked.&lt;/P&gt;&lt;P&gt;If we unchecked the menu, we can't make an elf image file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 07:58:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2023084#M9233</guid>
      <dc:creator>Luke_K</dc:creator>
      <dc:date>2025-01-07T07:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove STRTAB and SYMTAB sections from ELF using Codewarrior options.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2023130#M9234</link>
      <description>&lt;P&gt;I'm sorry that I wasn't help you. I'm using CodeWarrior version 11.1. I suggest that you ask questions in the following forum to see if they have any new ideas.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx/bd-p/mpc5xxx" target="_blank"&gt;MPC5xxx - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BRs,&lt;/P&gt;
&lt;P&gt;Celeste&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 09:01:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-remove-STRTAB-and-SYMTAB-sections-from-ELF-using/m-p/2023130#M9234</guid>
      <dc:creator>Celeste_Liu</dc:creator>
      <dc:date>2025-01-07T09:01:37Z</dc:date>
    </item>
  </channel>
</rss>

