global contructors

Philippe Simons loki_666 at fastmail.fm
Wed Aug 23 16:51:04 UTC 2006


I'm close to get global construcors working on ARM.
my .init/.fini and .ctors/.dtors sections are build correctly
I made some test to force the call to _init() in the Init task, and it
seems to works.

but where should i define the __USE_INIT_FINI__ to let _Thread_Handler
call _init()?
i tried to add it in the bsp_specs using: %(old_cpp) %{qrtems:
-D__USE_INIT_FINI__ }
but it doesnt seems to change anything to _Thread_Handler

any tips on this?

TIA

Philippe

-- 
http://www.fastmail.fm - IMAP accessible web-mail




More information about the users mailing list