* config/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
* config/sparc/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
* config/sparc/linux64.h (PREFERRED_DEBUGGING_TYPE): Remove.
(CC1_SPEC): Don't default to -gstabs+ if -m32.
* elfos.h (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
From-SVN: r48149
+2001-12-18 Jakub Jelinek <jakub@redhat.com>
+
+ * config/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
+ * config/sparc/linux.h (PREFERRED_DEBUGGING_TYPE): Remove.
+ * config/sparc/linux64.h (PREFERRED_DEBUGGING_TYPE): Remove.
+ (CC1_SPEC): Don't default to -gstabs+ if -m32.
+
+2001-12-05 David O'Brien <obrien@FreeBSD.org>
+
+ * elfos.h (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
+
2001-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
* po/gcc.pot: Regenerate.
#define DWARF2_DEBUGGING_INFO 1
#endif
-/* The GNU tools operate better with stabs. Since we don't have
- any native tools to be compatible with, default to stabs. */
+/* The GNU tools operate better with dwarf2, and it is required by some
+ psABI's. Since we don't have any native tools to be compatible with,
+ default to dwarf2. */
#ifndef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
+#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
#endif
/* All SVR4 targets use the ELF object file format. */
#undef ASM_APP_OFF
#define ASM_APP_OFF "#NO_APP\n"
-/* Use stabs instead of DWARF debug format. */
-#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
-
#undef MD_EXEC_PREFIX
#undef MD_STARTFILE_PREFIX
#define MULTIBYTE_CHARS 1
#endif
-/* Use stabs instead of DWARF debug format. */
-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
-
#undef MD_EXEC_PREFIX
#undef MD_STARTFILE_PREFIX
#undef DBX_REGISTER_NUMBER
#define DBX_REGISTER_NUMBER(REGNO) (REGNO)
-/* We use stabs-in-elf for debugging, because that is what the native
- toolchain uses. XXX */
-#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
-
#undef ASM_OUTPUT_ALIGNED_LOCAL
#define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \
do { \
%{m64:-mptr64 -mstack-bias -mlong-double-128 \
%{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:-mcpu=ultrasparc}}}}}}} \
%{!mno-vis:%{!mcpu=v9:-mvis}}} \
-%{!m64:%{g*:%{!gs*:%{!gd*:%{!gx*:%{!gc*:-gstabs+}}}}}} \
"
#else
#define CC1_SPEC "\
%{msparclite:-mcpu=sparclite} %{mf930:-mcpu=f930} %{mf934:-mcpu=f934} \
%{mv8:-mcpu=v8} %{msupersparc:-mcpu=supersparc} \
%{m32:-mptr32 -mno-stack-bias %{!mlong-double-128:-mlong-double-64} \
- %{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:-mcpu=cypress}}}}}}} \
- %{g*:%{!gs*:%{!gd*:%{!gx*:%{!gc*:-gstabs+}}}}}} \
+ %{!mcpu*:%{!mcypress:%{!msparclite:%{!mf930:%{!mf934:%{!mv8:%{!msupersparc:-mcpu=cypress}}}}}}}} \
%{!m32:%{!mcpu*:-mcpu=ultrasparc}} \
%{!mno-vis:%{!m32:%{!mcpu=v9:-mvis}}} \
"
#define DWARF2_DEBUGGING_INFO
#define DBX_DEBUGGING_INFO
-#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-
#undef ASM_OUTPUT_ALIGNED_LOCAL
#define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \
do { \