This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: selecting the right target...
> - arm-uclinux gcc-3.0.2, global_[cd]tors handling in crtbegin/crtend
> 1k flat binary. Ok, this is reasonable. But it generates .init and
>.fini sections, I'm not sure how to handle these. trash them
> or append them to .text?
Put them in with .text.
> Also: is it safe to swap crtbegin with crt0?
I think so, yes.
> - arm-uclinux gcc-3.0.2 with #undef (INIT|FINI)_SECTION_ASM_OP
> 14k flat binary. __do_global_[cd]tors are not big, true, but
> cause quite a few functions from libgcc to be included in the binary.
You mean libgcc1 type stuff, __divsi3 and so on?
p.