[uClibc]crt0.S for m68k

Manuel Novoa III mnovoa3 at bellsouth.net
Tue Jan 30 16:17:42 UTC 2001


On Tue, 30 Jan 2001, Erwin Authried wrote:
> Hi Erik,
> 
> the latest version of uClibc compiles fine with m68k-pic-coff.
> There is one undefined reference when an application is linked. I don't know
> where _sdata should be defined, it wasn't there in the old library. Thanks
> for putting the modifications for 32-bit pic into crt0.S. That will make
> life much easier. The missing _cleanup() should be inclduded somewhere in
> the library too. 
> 
> /usr/local/m68k-pic-coff/lib/crt0.o(.text+0xc):crt0.S: undefined reference to `_sdata'
> /usr/local/lib/gcc-lib/m68k-pic-coff/2.7.2.3-pic-060999/libgcc.a(_exit.o): In function `exit':
> libgcc2.c(.text+0x10): undefined reference to `_cleanup'

__cleanup is defined in stdlib/atexit.c and should appear in stdlib/exit.o. 

Manuel





More information about the uClibc mailing list