C Startup Code

Aaron J. Grier aaron@frye.com
Tue Apr 17 12:25:00 GMT 2001


On Tue, Apr 17, 2001 at 06:15:24PM -0000, Joel Dierks wrote:

> Since I have your attention,  I'll ask another question.  Does anyone
> have any examples of startup code that will work with the GNU tools.
> I need to know what GCC needs as far as initialization of the .data
> and .bss sections. 

normally you copy .data from ROM to RAM, and initialize .bss.  there are
examples of this and other startup routines in the various crt0 files
distributed with libgloss and newlib.

-- 
  Aaron J. Grier   |    Frye Electronics, Tigard, OR   |   aaron@frye.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list