gnupic: gplink dead section optimization


Previous by date: 23 May 2005 02:50:12 +0100 Re: [gnupic] Differend data segment types, Peter Onion
Next by date: 23 May 2005 02:50:12 +0100 Re: [gnupic] gpsim/gpasm assertions, Chris Emerson
Previous in thread:
Next in thread:

Subject: gplink dead section optimization
From: Craig Franklin ####@####.####
Date: 23 May 2005 02:50:12 +0100
Message-Id: <4291372E.9030900@users.sourceforge.net>

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.

Previous by date: 23 May 2005 02:50:12 +0100 Re: [gnupic] Differend data segment types, Peter Onion
Next by date: 23 May 2005 02:50:12 +0100 Re: [gnupic] gpsim/gpasm assertions, Chris Emerson
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.