This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: selecting the right target...
>The "flat" binary format we use with uclinux does not have the .init and
>.fini sections so all these global_[cd]tors support routines can go
>away.
Are you sure you don't want this stuff? As far as GCC is concerned
arm-uclinux is really an ELF target; the fact that you post-process the
binary into flat form doesn't matter much. I can't think of any particular
reason why constructors wouldn't work.
p.