microblaze-elf - missing priority for the constructors

Michael Eager eager@eagerm.com
Fri Mar 30 17:00:00 GMT 2012


On 03/30/2012 09:07 AM, nick clifton wrote:
> Hi Christophe,
>
>> I cross-compiled GCC 4.6.3 and binutil 2.22 for microblaze
>> and I came into a problem when trying an eCos RTOS based application.
>> The constructors table is not sorted by priority, actually the priority
>> seem to be gone. I have added this template in the linker script:


> I suspect that this is en eCos issue, rather than a linker one. My guess would be that the eCos
> configuration/build system is deciding that the microblaze toolchain does not support
> constructor/destructor priorities, and so it is not bothering to annotate the constructor section
> names with their priority.

Does eCos have its own linker script?

-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077



More information about the Binutils mailing list