Commit feffaec4 by Rainer Orth Committed by Rainer Orth

sol2.h [!USE_GLD] (CTORS_SECTION_ASM_OP): Define.

	* config/i386/sol2.h [!USE_GLD] (CTORS_SECTION_ASM_OP): Define.
	(DTORS_SECTION_ASM_OP): Define.

From-SVN: r176162
parent 699010ba
2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/i386/sol2.h [!USE_GLD] (CTORS_SECTION_ASM_OP): Define.
(DTORS_SECTION_ASM_OP): Define.
2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/dfp-bit.c, config/dfp-bit.h: Move to ../libgcc. * config/dfp-bit.c, config/dfp-bit.h: Move to ../libgcc.
* config/t-dfprules: Move to ../libgcc/config. * config/t-dfprules: Move to ../libgcc/config.
* config.gcc (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu, * config.gcc (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu,
......
...@@ -152,6 +152,13 @@ along with GCC; see the file COPYING3. If not see ...@@ -152,6 +152,13 @@ along with GCC; see the file COPYING3. If not see
#undef TARGET_ASM_NAMED_SECTION #undef TARGET_ASM_NAMED_SECTION
#define TARGET_ASM_NAMED_SECTION i386_solaris_elf_named_section #define TARGET_ASM_NAMED_SECTION i386_solaris_elf_named_section
/* Unlike GNU ld, Sun ld doesn't coalesce .ctors.N/.dtors.N sections, so
inhibit their creation. Also cf. sparc/sysv4.h. */
#ifndef USE_GLD
#define CTORS_SECTION_ASM_OP "\t.section\t.ctors, \"aw\""
#define DTORS_SECTION_ASM_OP "\t.section\t.dtors, \"aw\""
#endif
/* We do not need NT_VERSION notes. */ /* We do not need NT_VERSION notes. */
#undef X86_FILE_START_VERSION_DIRECTIVE #undef X86_FILE_START_VERSION_DIRECTIVE
#define X86_FILE_START_VERSION_DIRECTIVE false #define X86_FILE_START_VERSION_DIRECTIVE false
......
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