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


nick clifton <nickc@redhat.com> writes:

>> 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:
>
> Strange - that should not be needed.  The built-in microblaze linker
> script already includes support for sorting constructors:

It's a compiler problem, not a binutils problem at all.  The compiler is
not putting the priority in the .ctors section names.

Ian


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