arm-elf

Erik Christiansen erik@dd.nec.com.au
Fri Mar 21 07:22:00 GMT 2003


On Thu, Mar 20, 2003 at 11:52:52PM -0700, TME wrote:

> However if I try to use a startup file in assembler I have problems of
> duplicate  _start.

   Presumably you've grepped for _start, but the twin may be lurking in
   e.g. crt0.o  (Standard RAM initialisation)
   
   In my case, I find:
   
$ nm -s supplied_software/newlib/lib/crt0.o
00000000 G __atexit
         U __bss_start
         U __sbss_end
         U __sbss_start
         U __stack
         U _end
00000004 T _start          <-- Would bite you, if linked with your code.
         U atexit
         U exit
         U main

   Given little to go on, that's as close as I can guess. You may need
   to search a little for the other _start, even in any archives that
   you link. :)

Regards,
Erik



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



More information about the crossgcc mailing list