This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C Startup Code


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]