This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Tidy up arm-elf header files (v4)


On Tue, Sep 11, 2001 at 11:00:43PM +0100, Nick Clifton wrote:
> + 	bl	FUNCTION (_init)
> + 	ldr	r0, .Lfini
> + 	bl	FUNCTION (atexit)

Incidentally, you need to register _fini *before* calling _init,
since atexist runs things in the reverse order of registration,
and constructors can call atexit.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]