re PR target/68408 (broken support for attribute init_priority)

PR target/68408
	* config/sparc/sp-elf.h (CTORS_SECTION_ASM_OP): Undefine.
	(DTORS_SECTION_ASM_OP): Likewise.

From-SVN: r230598
This commit is contained in:
Eric Botcazou 2015-11-19 11:49:32 +00:00 committed by Eric Botcazou
parent dfc3d7a8a2
commit 05f44cf5de
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2015-11-19 Eric Botcazou <ebotcazou@adacore.com>
PR target/68408
* config/sparc/sp-elf.h (CTORS_SECTION_ASM_OP): Undefine.
(DTORS_SECTION_ASM_OP): Likewise.
2015-11-19 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/68376

View File

@ -53,6 +53,10 @@ along with GCC; see the file COPYING3. If not see
#undef ASM_GENERATE_INTERNAL_LABEL
#define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \
sprintf ((LABEL), "*.L%s%ld", (PREFIX), (long)(NUM))
/* We use GNU ld so undefine this so that attribute((init_priority)) works. */
#undef CTORS_SECTION_ASM_OP
#undef DTORS_SECTION_ASM_OP
/* ??? Inherited from sol2.h. Probably wrong. */
#undef WCHAR_TYPE