Commit 6eccdc81 by Jim Wilson

Fix sparc*-*-elf constructor problems; from Jason Merrill via Jonathan Larmour.

	* 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
parent 84181921
...@@ -47,3 +47,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -47,3 +47,7 @@ Boston, MA 02111-1307, USA. */
#undef STARTFILE_SPEC #undef STARTFILE_SPEC
#define STARTFILE_SPEC "crti.o%s crtbegin.o%s" #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
...@@ -6047,7 +6047,7 @@ for machine in $build $host $target; do ...@@ -6047,7 +6047,7 @@ for machine in $build $host $target; do
tmake_file=sparc/t-sparclite tmake_file=sparc/t-sparclite
;; ;;
sparclite-*-elf*) sparclite-*-elf*)
tm_file="sparc/liteelf.h libgloss.h" tm_file="sparc/liteelf.h"
tmake_file=sparc/t-sparclite tmake_file=sparc/t-sparclite
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
;; ;;
...@@ -6056,7 +6056,7 @@ for machine in $build $host $target; do ...@@ -6056,7 +6056,7 @@ for machine in $build $host $target; do
tmake_file=sparc/t-sp86x tmake_file=sparc/t-sp86x
;; ;;
sparc86x-*-elf*) sparc86x-*-elf*)
tm_file="sparc/sp86x-elf.h libgloss.h" tm_file="sparc/sp86x-elf.h"
tmake_file=sparc/t-sp86x tmake_file=sparc/t-sp86x
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
;; ;;
......
...@@ -3365,7 +3365,7 @@ changequote([,])dnl ...@@ -3365,7 +3365,7 @@ changequote([,])dnl
tmake_file=sparc/t-sparclite tmake_file=sparc/t-sparclite
;; ;;
sparclite-*-elf*) sparclite-*-elf*)
tm_file="sparc/liteelf.h libgloss.h" tm_file="sparc/liteelf.h"
tmake_file=sparc/t-sparclite tmake_file=sparc/t-sparclite
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
;; ;;
...@@ -3374,7 +3374,7 @@ changequote([,])dnl ...@@ -3374,7 +3374,7 @@ changequote([,])dnl
tmake_file=sparc/t-sp86x tmake_file=sparc/t-sp86x
;; ;;
sparc86x-*-elf*) sparc86x-*-elf*)
tm_file="sparc/sp86x-elf.h libgloss.h" tm_file="sparc/sp86x-elf.h"
tmake_file=sparc/t-sp86x tmake_file=sparc/t-sp86x
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
;; ;;
......
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