Re: crtstuff sentinels

2005-12-07 Thread Paul Brook
On Thursday 08 December 2005 00:52, DJ Delorie wrote: > > > The "-1" sentinal used for CTOR_LIST is not a representable address, > > > and the code gcc ends up using compares 0x (the -1) with > > > 0x00ff (what ends up in $a0) and it doesn't match. > > > > > > Suggestions? > > > > Use E

Re: crtstuff sentinels

2005-12-07 Thread DJ Delorie
> > The "-1" sentinal used for CTOR_LIST is not a representable address, > > and the code gcc ends up using compares 0x (the -1) with > > 0x00ff (what ends up in $a0) and it doesn't match. > > > > Suggestions? > > Use ELF .init_array/.fini_array I got distracted trying to support thi

Re: crtstuff sentinels

2005-12-05 Thread Paul Brook
> The "-1" sentinal used for CTOR_LIST is not a representable address, > and the code gcc ends up using compares 0x (the -1) with > 0x00ff (what ends up in $a0) and it doesn't match. > > Suggestions? Use ELF .init_array/.fini_array Paul