crtstuff sentinels

Paul Brook paul@codesourcery.com
Tue Dec 6 03:10:00 GMT 2005


> The "-1" sentinal used for CTOR_LIST is not a representable address,
> and the code gcc ends up using compares 0xffffffff (the -1) with
> 0x00ffffff (what ends up in $a0) and it doesn't match.
>
> Suggestions?

Use ELF .init_array/.fini_array

Paul



More information about the Gcc mailing list