<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>What is ?C?LIB_CODE in the map file (.M51)</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/25495/what-is-c-lib_code-in-the-map-file-m51</link><description> 
Dear Experts, In the map file of my project, I have a large
segment by name ?C?LIB_CODE (size is 3KB+). What is this segment? Is
there a way to optimize it? How can we know what is included (i.e.
which functions etc.) in this segment? 

 
Regards, </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: What is ?C?LIB_CODE in the map file (.M51)</title><link>https://community.arm.com/thread/77619?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2009 07:50:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:23705d0a-42ad-4bd7-ba0c-289739234452</guid><dc:creator>Ganesh Okade</dc:creator><description>&lt;p&gt;&lt;p&gt;
Gentlemen: Thank you for answering this question. Andy, you are
right, I should have checked the forum before posting the question. I
am sorry about that and will correct this next time.&lt;/p&gt;

&lt;p&gt;
Regards,&lt;br /&gt;
Ganesh Okade&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is ?C?LIB_CODE in the map file (.M51)</title><link>https://community.arm.com/thread/56505?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2009 01:17:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e499f146-18c1-4ca7-8f03-433cbdb08982</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
The first thing to do with a question like this is always to look
for a &amp;#39;&lt;b&gt;Search&lt;/b&gt;&amp;#39; facility on the vendor&amp;#39;s website!&lt;/p&gt;

&lt;p&gt;
So, try putting &amp;quot;?C?LIB_CODE&amp;quot; into the &amp;#39;&lt;b&gt;Search&lt;/b&gt;&amp;#39; box at the
top right of this page - it&amp;#39;s immediately below the &lt;b&gt;Keil&lt;/b&gt;
logo...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is ?C?LIB_CODE in the map file (.M51)</title><link>https://community.arm.com/thread/89893?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2009 00:51:50 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:10159905-5008-4fef-8d08-7e7b50c95cf2</guid><dc:creator>Advanced Zeusti</dc:creator><description>&lt;p&gt;&lt;p&gt;
HI.&lt;/p&gt;

&lt;p&gt;
u look in the \keil\c51\lib directory&lt;/p&gt;

&lt;p&gt;
it has lots of library files.&lt;/p&gt;

&lt;p&gt;
some r inc&amp;#39;d with yo&amp;#39;re project. it is the run time librarys.&lt;/p&gt;

&lt;p&gt;
if u want to make it less do not use two much run time funcs. like
sprintf is very very bad.&lt;/p&gt;

&lt;p&gt;
all (or most ?) have code in the ?C?LIB_CODE segment.&lt;/p&gt;

&lt;p&gt;
Always yo&amp;#39;re freind.&lt;/p&gt;

&lt;p&gt;
Zeusti.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is ?C?LIB_CODE in the map file (.M51)</title><link>https://community.arm.com/thread/56510?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2009 00:43:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:65289951-c50d-4fad-8a03-efd2bbdc4503</guid><dc:creator>Christoph Franck</dc:creator><description>&lt;p&gt;&lt;p&gt;
It&amp;#39;s a library used for supporting C code.&amp;lt;p&amp;gt;&lt;br /&gt;
I guess it contains things like integer arithmetics (e.g. 16/32 bit
addition/multiplication/etc) which the 8051 cannot handle
natively.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>