Commit 05f44cf5 by Eric Botcazou Committed by Eric Botcazou

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
parent dfc3d7a8
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
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment