config.gcc (sparc64-*-solaris2*, [...]): Add tm-dwarf2.h to tm_file.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 3 May 2004 10:24:02 +0000 (10:24 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 3 May 2004 10:24:02 +0000 (10:24 +0000)
* config.gcc (sparc64-*-solaris2*, sparcv9-*-solaris2*): Add
tm-dwarf2.h to tm_file.
(sparc-*-solaris2*): Add tm-dwarf2.h to tm_file for Solaris 7+.
* config/sparc/sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Delete.
(ASM_DEBUG_SPEC): Delete.

Co-Authored-By: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
From-SVN: r81428

gcc/ChangeLog
gcc/config.gcc
gcc/config/sparc/sol2-bi.h

index e907ac3a52d29676c6112dec21a2f79b4edfd21c..bb21d0c49ef7b338588b207723b856f5818e4f13 100644 (file)
@@ -1,3 +1,12 @@
+2004-05-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
+            Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * config.gcc (sparc64-*-solaris2*, sparcv9-*-solaris2*): Add
+       tm-dwarf2.h to tm_file.
+       (sparc-*-solaris2*): Add tm-dwarf2.h to tm_file for Solaris 7+.
+       * config/sparc/sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Delete.
+       (ASM_DEBUG_SPEC): Delete.
+
 2004-05-03  Uros Bizjak  <uros@kss-loka.si>
 
        * optabs.h (enum optab_index): Add new OTI_expm1.
index 844624c0a1e266058a1ded0685a5dfa96905eee6..c6e06beb28cd48be7f9369d0478f290fbbb0d3e5 100644 (file)
@@ -1820,7 +1820,7 @@ sparc-*-rtems*)
        extra_parts="crti.o crtn.o crtbegin.o crtend.o"
        ;;
 sparc64-*-solaris2* | sparcv9-*-solaris2*)
-       tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/sol2-64.h sparc/sol2-bi.h"
+       tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/sol2-64.h sparc/sol2-bi.h tm-dwarf2.h"
        if test x$gnu_ld = xyes; then
                tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h"
        fi
@@ -1859,7 +1859,7 @@ sparc-*-solaris2*)
                fi
                ;;
        *-*-solaris2.[789] | *-*-solaris2.1[0-9])
-               tm_file="sparc/biarch64.h ${tm_file} sparc/sol2-bi.h"
+               tm_file="sparc/biarch64.h ${tm_file} sparc/sol2-bi.h tm-dwarf2.h"
                if test x$gnu_ld = xyes; then
                        tm_file="${tm_file} sparc/sol2-gld-bi.h"
                fi
index eab3a1abc5e3edeeab92ce29394658cb0e2bcd3a..6371acc9d7eaa4ba0e450e827992a3c68dd3907a 100644 (file)
 #else
 #define MULTILIB_DEFAULTS { "m64" }
 #endif
-
-#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-
-#if defined(HAVE_AS_GDWARF2_DEBUG_FLAG) && defined(HAVE_AS_GSTABS_DEBUG_FLAG)
-# define ASM_DEBUG_SPEC "%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}"
-#endif