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> 2015-11-19 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/68376 PR rtl-optimization/68376
...@@ -54,6 +54,10 @@ along with GCC; see the file COPYING3. If not see ...@@ -54,6 +54,10 @@ along with GCC; see the file COPYING3. If not see
#define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \ #define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \
sprintf ((LABEL), "*.L%s%ld", (PREFIX), (long)(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. */ /* ??? Inherited from sol2.h. Probably wrong. */
#undef WCHAR_TYPE #undef WCHAR_TYPE
#define WCHAR_TYPE "long int" #define WCHAR_TYPE "long int"
......
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