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]
Other format: [Raw text]

Re: arm-elf


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 at sources dot redhat dot com


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