gnupic: Re: [gnupic] gplink dead section optimization


Previous by date: 27 May 2005 04:00:31 +0100 Re: [gnupic] FW: [PIC] PIC development under Linux with Wine, Scott Dattalo
Next by date: 27 May 2005 04:00:31 +0100 Re: [gnupic] gpsim/gpasm assertions, Craig Franklin
Previous in thread: 27 May 2005 04:00:31 +0100 Re: [gnupic] gplink dead section optimization, David Willmore
Next in thread:

Subject: Re: [gnupic] gplink dead section optimization
From: Craig Franklin ####@####.####
Date: 27 May 2005 04:00:31 +0100
Message-Id: <42968DB6.5050903@users.sourceforge.net>

David Willmore wrote:

>>I have added a new optimization to gplink.  Dead sections are removed 
>>when the optimization level is 2 or higher.  A dead section is any 
>>section that doesn't have relocations pointing to its symbols. This 
>>means the code or data in the section is never accessed. This 
>>optimization removes the section and its symbols to reduce program and 
>>data memory. This optimization will not remove any absolute sections.
>>
>>Preliminary tests are working well.  The code is in cvs.  I need to 
>>decide if more exceptions should be allowed.  For example, don't remove 
>>sections in protected memory.  I am open to any suggestions.
>>    
>>
>
>Is there a way to override this on a per segment fashon?  What if one
>uses a segment to store the copyright message--which may never be 
>referenced--and this removes it.  Oops.
>
>  
>
I have plans for a .noopt and .opt directive, but they aren't 
implemented yet.

>Cheers,
>David
>
>  
>


Previous by date: 27 May 2005 04:00:31 +0100 Re: [gnupic] FW: [PIC] PIC development under Linux with Wine, Scott Dattalo
Next by date: 27 May 2005 04:00:31 +0100 Re: [gnupic] gpsim/gpasm assertions, Craig Franklin
Previous in thread: 27 May 2005 04:00:31 +0100 Re: [gnupic] gplink dead section optimization, David Willmore
Next in thread:


Powered by ezmlm-browse 0.20.