From 0b85af22e266ae6dc107bff604faacbe135bcc3f Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Fri, 21 Jan 2005 11:15:56 +0100 Subject: [PATCH] config.gcc (sparc-*-netbsdelf*): Include dbxelf.h * config.gcc (sparc-*-netbsdelf*): Include dbxelf.h (sparc64-*-openbsd*): Likewise. (sparclite-*-elf*): Include tm-dwarf2.h. (sparc86x-*-elf*): Likewise. (sparc64-*-elf*): Likewise. * config/sparc/linux64.h (DWARF2_DEBUGGING_INFO): Delete. (DBX_DEBUGGING_INFO): Likewise. * config/sparc/liteelf.h (DWARF2_DEBUGGING_INFO): Likewise. (PREFERRED_DEBUGGING_TYPE): Likewise. * config/sparc/netbsd-elf.h (PREFERRED_DEBUGGING_TYPE): Likewise. * config/sparc/sp64-elf.h (DBX_DEBUGGING_INFO): Likewise. (PREFERRED_DEBUGGING_TYPE): Likewise. * config/sparc/sp86x-elf.h (DWARF2_DEBUGGING_INFO 1): Likewise. (PREFERRED_DEBUGGING_TYPE): Likewise. * config/sparc/sparc.h (DBX_DEBUGGING_INFO): Likewise. From-SVN: r94011 --- gcc/ChangeLog | 18 ++++++++++++++++++ gcc/config.gcc | 10 +++++----- gcc/config/sparc/linux64.h | 3 --- gcc/config/sparc/liteelf.h | 7 ------- gcc/config/sparc/netbsd-elf.h | 3 --- gcc/config/sparc/sp64-elf.h | 9 --------- gcc/config/sparc/sp86x-elf.h | 7 ------- gcc/config/sparc/sparc.h | 4 ---- 8 files changed, 23 insertions(+), 38 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fe6e8a4d20b..4f4a2393dcc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,21 @@ +2005-01-21 Eric Botcazou + + * config.gcc (sparc-*-netbsdelf*): Include dbxelf.h + (sparc64-*-openbsd*): Likewise. + (sparclite-*-elf*): Include tm-dwarf2.h. + (sparc86x-*-elf*): Likewise. + (sparc64-*-elf*): Likewise. + * config/sparc/linux64.h (DWARF2_DEBUGGING_INFO): Delete. + (DBX_DEBUGGING_INFO): Likewise. + * config/sparc/liteelf.h (DWARF2_DEBUGGING_INFO): Likewise. + (PREFERRED_DEBUGGING_TYPE): Likewise. + * config/sparc/netbsd-elf.h (PREFERRED_DEBUGGING_TYPE): Likewise. + * config/sparc/sp64-elf.h (DBX_DEBUGGING_INFO): Likewise. + (PREFERRED_DEBUGGING_TYPE): Likewise. + * config/sparc/sp86x-elf.h (DWARF2_DEBUGGING_INFO 1): Likewise. + (PREFERRED_DEBUGGING_TYPE): Likewise. + * config/sparc/sparc.h (DBX_DEBUGGING_INFO): Likewise. + 2005-01-21 Hans-Peter Nilsson PR target/18701 diff --git a/gcc/config.gcc b/gcc/config.gcc index 4d18e03600f..462593a50cd 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1873,7 +1873,7 @@ sh-*-*) use_fixproto=yes ;; sparc-*-netbsdelf*) - tm_file="${tm_file} elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h" + tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h" ;; sparc-*-openbsd*) tm_defines=OBSD_OLD_GAS @@ -1884,7 +1884,7 @@ sparc-*-openbsd*) use_collect2=yes ;; sparc64-*-openbsd*) - tm_file="sparc/openbsd1-64.h sparc/sparc.h elfos.h svr4.h sparc/sysv4.h sparc/sp64-elf.h openbsd.h sparc/openbsd64.h" + tm_file="sparc/openbsd1-64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sp64-elf.h openbsd.h sparc/openbsd64.h" gas=yes gnu_ld=yes with_cpu=ultrasparc ;; @@ -1997,19 +1997,19 @@ sparclite-*-coff*) tmake_file=sparc/t-sparclite ;; sparclite-*-elf*) - tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h sparc/liteelf.h" + tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h sparc/liteelf.h tm-dwarf2.h" tmake_file="sparc/t-sparclite sparc/t-crtfm" extra_parts="crtbegin.o crtend.o" use_fixproto=yes ;; sparc86x-*-elf*) - tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h sparc/sp86x-elf.h" + tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h sparc/sp86x-elf.h tm-dwarf2.h" tmake_file="sparc/t-sp86x sparc/t-crtfm" extra_parts="crtbegin.o crtend.o" use_fixproto=yes ;; sparc64-*-elf*) - tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/sp64-elf.h" + tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/sp64-elf.h tm-dwarf2.h" tmake_file="${tmake_file} sparc/t-crtfm" extra_parts="crtbegin.o crtend.o" use_fixproto=yes diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 769420c1873..4a266dfc61c 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -289,9 +289,6 @@ Boston, MA 02111-1307, USA. */ #undef DBX_REGISTER_NUMBER #define DBX_REGISTER_NUMBER(REGNO) (REGNO) -#define DWARF2_DEBUGGING_INFO 1 -#define DBX_DEBUGGING_INFO 1 - #undef ASM_OUTPUT_ALIGNED_LOCAL #define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \ do { \ diff --git a/gcc/config/sparc/liteelf.h b/gcc/config/sparc/liteelf.h index 49a2089b211..00318576bad 100644 --- a/gcc/config/sparc/liteelf.h +++ b/gcc/config/sparc/liteelf.h @@ -27,13 +27,6 @@ Boston, MA 02111-1307, USA. */ } \ while (0) -/* Default to dwarf2 in ELF. */ - -#define DWARF2_DEBUGGING_INFO 1 - -#undef PREFERRED_DEBUGGING_TYPE -#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG - #undef TARGET_VERSION #define TARGET_VERSION fprintf (stderr, " (sparclite)"); diff --git a/gcc/config/sparc/netbsd-elf.h b/gcc/config/sparc/netbsd-elf.h index 14452ed3961..d3df6bed5fe 100644 --- a/gcc/config/sparc/netbsd-elf.h +++ b/gcc/config/sparc/netbsd-elf.h @@ -51,9 +51,6 @@ Boston, MA 02111-1307, USA. */ #undef PTRDIFF_TYPE #define PTRDIFF_TYPE "long int" -#undef PREFERRED_DEBUGGING_TYPE -#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG - /* This is the char to use for continuation (in case we need to turn continuation back on). */ #undef DBX_CONTIN_CHAR diff --git a/gcc/config/sparc/sp64-elf.h b/gcc/config/sparc/sp64-elf.h index 33818aa43fb..bbee49df8c9 100644 --- a/gcc/config/sparc/sp64-elf.h +++ b/gcc/config/sparc/sp64-elf.h @@ -105,15 +105,6 @@ crtbegin.o%s \ #undef JUMP_TABLES_IN_TEXT_SECTION #define JUMP_TABLES_IN_TEXT_SECTION 0 -/* System V Release 4 uses DWARF debugging info. - GDB doesn't support 64 bit stabs yet and the desired debug format is DWARF - anyway so it is the default. */ - -#define DBX_DEBUGGING_INFO 1 - -#undef PREFERRED_DEBUGGING_TYPE -#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG - /* Don't include Solaris-specific format checks. */ #undef TARGET_N_FORMAT_TYPES #undef TARGET_FORMAT_TYPES diff --git a/gcc/config/sparc/sp86x-elf.h b/gcc/config/sparc/sp86x-elf.h index 593400d0dd2..8aa84301019 100644 --- a/gcc/config/sparc/sp86x-elf.h +++ b/gcc/config/sparc/sp86x-elf.h @@ -27,13 +27,6 @@ Boston, MA 02111-1307, USA. */ } \ while (0) -/* Default to dwarf2 in ELF. */ - -#define DWARF2_DEBUGGING_INFO 1 - -#undef PREFERRED_DEBUGGING_TYPE -#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG - #undef TARGET_VERSION #define TARGET_VERSION fprintf (stderr, " (sparclite 86x)"); diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 48915c42d2b..cddf48a927d 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -481,10 +481,6 @@ extern enum cmodel sparc_cmodel; #define CAN_DEBUG_WITHOUT_FP #define OVERRIDE_OPTIONS sparc_override_options () - -/* Generate DBX debugging information. */ - -#define DBX_DEBUGGING_INFO 1 /* Run-time compilation parameters selecting different hardware subsets. */