[Bug target/19715] C++ init_priority is not enabled for generic sparc-elf target

jiri at gaisler dot com gcc-bugzilla@gcc.gnu.org
Thu Feb 10 22:39:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list