* config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
Undef.
* configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
* configure: Regenerate.
From-SVN: r29906
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "crti.o%s crtbegin.o%s"
+
+/* Use __main method of constructor invocation. */
+#undef INIT_SECTION_ASM_OP
+#undef FINI_SECTION_ASM_OP
tmake_file=sparc/t-sparclite
;;
sparclite-*-elf*)
- tm_file="sparc/liteelf.h libgloss.h"
+ tm_file="sparc/liteelf.h"
tmake_file=sparc/t-sparclite
extra_parts="crtbegin.o crtend.o"
;;
tmake_file=sparc/t-sp86x
;;
sparc86x-*-elf*)
- tm_file="sparc/sp86x-elf.h libgloss.h"
+ tm_file="sparc/sp86x-elf.h"
tmake_file=sparc/t-sp86x
extra_parts="crtbegin.o crtend.o"
;;
tmake_file=sparc/t-sparclite
;;
sparclite-*-elf*)
- tm_file="sparc/liteelf.h libgloss.h"
+ tm_file="sparc/liteelf.h"
tmake_file=sparc/t-sparclite
extra_parts="crtbegin.o crtend.o"
;;
tmake_file=sparc/t-sp86x
;;
sparc86x-*-elf*)
- tm_file="sparc/sp86x-elf.h libgloss.h"
+ tm_file="sparc/sp86x-elf.h"
tmake_file=sparc/t-sp86x
extra_parts="crtbegin.o crtend.o"
;;