This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: microblaze-elf - missing priority for the constructors


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


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