[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
[arm-gnu] compatibility between .init_array and CTOR
- To: <arm-gnu@xxxxxxxxxxxxxxxx>
- Subject: [arm-gnu] compatibility between .init_array and CTOR
- From: "Sun Yanfei" <Yanfei.Sun@xxxxxxxxxxxxx>
- Date: Tue, 13 May 2008 16:04:09 +0800
Hi All,
When using arm-none-eabi instead of arm-elf to build redboot,
_CTOR_LIST == _CTOR_END, so no class initializations were did. I checked
the elf file and found that all the constructors were put in section
".rel.init_array", so caused such errors.I wonder if .init_array and
.finit_array were not supported by arm-elf while CTOR and DTOR not
supported by arm-none-eabi.
Thanks for your kindly reply.
Best Regards,
Ray Sun
|