This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target
- From: "jiri at gaisler dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Feb 2005 19:24:15 -0000
- Subject: [Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target
- References: <20050131001229.19715.jiri@gaisler.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jiri at gaisler dot com 2005-02-10 19:24 -------
Subject: Re: C++ init_priority is not enabled for generic
sparc-elf target
It is not fixed. In gcc-4.0.0, the file that needs to be fixed is
gcc/config/sparc/sp-elf.h . It should contain the following:
#undef CTORS_SECTION_ASM_OP
#undef DTORS_SECTION_ASM_OP
#undef SUPPORTS_INIT_PRIORITY
#define SUPPORTS_INIT_PRIORITY 1
Jiri.
ebotcazou at gcc dot gnu dot org wrote:
> ------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-02-10 18:51 -------
>
>>It not fixed on 3.4 or the 4.0 as far as I can see.
>
>
> What do you mean by "as far as I can see"? Did you really try with 4.0.0pre?
>
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19715