This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Help - Missing contructor priority
- From: Ian Lance Taylor <iant at google dot com>
- To: christophe coutand <ecos at hotmail dot co dot uk>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Thu, 29 Mar 2012 21:28:57 -0700
- Subject: Re: Help - Missing contructor priority
- References: <DUB112-W24E94B6D0F6C64D32BC24888480@phx.gbl>
christophe coutand <ecos@hotmail.co.uk> writes:
> I cross-compiled GCC 4.6.3 and binutil 2.22 for microblaze
> and I came into a problem, the constructors table is not sorted by priority, actually the priority
> seem to be gone.
> Has anyone tips to get the constructor priority to work with microblaze compiler/linker?
Either don't define CTORS_SECTION_ASM_OP, or do define
TARGET_ASM_CONSTRUCTOR. Likewise for DTORS_SECTION_ASM_OP
and TARGET_ASM_DESTRUCTOR.
Ian