This is the mail archive of the
mailing list for the binutils project.
Re: microblaze-elf - missing priority for the constructors
On 03/30/2012 09:07 AM, nick clifton wrote:
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 firstname.lastname@example.org
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077