OSDN Git Service

Fix sparc*-*-elf constructor problems; from Jason Merrill via Jonathan Larmour.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Oct 1999 02:03:39 +0000 (02:03 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Oct 1999 02:03:39 +0000 (02:03 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29906 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/sparc/liteelf.h
gcc/configure
gcc/configure.in

index 3eedce4..164cf20 100644 (file)
@@ -47,3 +47,7 @@ Boston, MA 02111-1307, USA.  */
 
 #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
index 5c4f0f4..97a9886 100755 (executable)
@@ -6047,7 +6047,7 @@ for machine in $build $host $target; do
                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"
                ;;
@@ -6056,7 +6056,7 @@ for machine in $build $host $target; do
                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"
                ;;
index 65e2686..50a5553 100644 (file)
@@ -3365,7 +3365,7 @@ changequote([,])dnl
                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"
                ;;
@@ -3374,7 +3374,7 @@ changequote([,])dnl
                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"
                ;;