]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix sparc*-*-elf constructor problems; from Jason Merrill via Jonathan Larmour.
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 12 Oct 1999 02:03:39 +0000 (19:03 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 12 Oct 1999 02:03:39 +0000 (19:03 -0700)
* 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

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

index 3eedce4c4c3be81e7f509e674cfffb7554e3818a..164cf20e46dc49949c7312287625e001bb7d62f7 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 5c4f0f4c83bd439e361d71ce3b77bb1355bf8322..97a988658532f352b3864412f29bc030f3caa45d 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 65e268614a898faf0cced7f8d498aa0f99906e27..50a55539315ff0dd0f70aae702dfb658ac0dd152 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"
                ;;