[committed] Drop stabs support from h8300 and v850 ports

2021-08-19 Thread Jeff Law via Gcc-patches

Whee, two more ports dropping stabs. Committed to the trunk.

Jeff
commit 18e9e7db7afb8635316414b560c10852db13c4c1
Author: Jeff Law 
Date:   Thu Aug 19 14:15:03 2021 -0400

Drop stabs from h8/300 and v850 ports

gcc/
* config.gcc (h8300-*-elf*): Do not include dbxelf.h.
(h8300-*-linux*, v850-*-rtems*, v850*-elf*): Likewise.
* config/v850/v850.h (DEFAULT_GDB_EXTENSIONS): Remove.

diff --git a/gcc/config.gcc b/gcc/config.gcc
index eb232df6df4..08e6c6779a5 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1677,11 +1677,11 @@ moxie-*-moxiebox*)
;;
 h8300-*-elf*)
tmake_file="h8300/t-h8300"
-   tm_file="h8300/h8300.h dbxelf.h elfos.h newlib-stdint.h h8300/elf.h"
+   tm_file="h8300/h8300.h elfos.h newlib-stdint.h h8300/elf.h"
;;
 h8300-*-linux*)
tmake_file="${tmake_file} h8300/t-h8300 h8300/t-linux"
-   tm_file="h8300/h8300.h dbxelf.h elfos.h gnu-user.h linux.h 
glibc-stdint.h h8300/linux.h"
+   tm_file="h8300/h8300.h elfos.h gnu-user.h linux.h glibc-stdint.h 
h8300/linux.h"
;;
 hppa*64*-*-linux*)
target_cpu_default="MASK_PA_11|MASK_PA_20"
@@ -3473,7 +3473,7 @@ tilepro*-*-linux*)
;;
 v850-*-rtems*)
target_cpu_default="TARGET_CPU_generic"
-   tm_file="dbxelf.h elfos.h v850/v850.h"
+   tm_file="elfos.h v850/v850.h"
tm_file="${tm_file} v850/rtems.h rtems.h newlib-stdint.h"
tmake_file="${tmake_file} v850/t-v850"
tmake_file="${tmake_file} v850/t-rtems"
@@ -3502,11 +3502,7 @@ v850*-*-*)
target_cpu_default="TARGET_CPU_generic"
;;
esac
-   tm_file="dbxelf.h elfos.h newlib-stdint.h v850/v850.h"
-   if test x$stabs = xyes
-   then
-   tm_file="${tm_file} dbx.h"
-   fi
+   tm_file="elfos.h newlib-stdint.h v850/v850.h"
use_collect2=no
c_target_objs="v850-c.o"
cxx_target_objs="v850-c.o"
diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h
index 386f9f59e0b..51622684622 100644
--- a/gcc/config/v850/v850.h
+++ b/gcc/config/v850/v850.h
@@ -694,9 +694,6 @@ typedef enum
   if ((LOG) != 0)  \
 fprintf (FILE, "\t.align %d\n", (LOG))
 
-/* We don't have to worry about dbx compatibility for the v850.  */
-#define DEFAULT_GDB_EXTENSIONS 1
-
 /* Use dwarf2 debugging info by default.  */
 #undef  PREFERRED_DEBUGGING_TYPE
 #define PREFERRED_DEBUGGING_TYPE   DWARF2_DEBUG


Re: [committed] Drop stabs support from h8300 and v850 ports

2021-08-19 Thread Gerald Pfeifer
On Thu, 19 Aug 2021, Jeff Law via Gcc-patches wrote:
> Whee, two more ports dropping stabs. Committed to the trunk.

Are you saying you're on a mission to stab wodden stakes into stabs?

SCNR :-)
Gerald


Re: [committed] Drop stabs support from h8300 and v850 ports

2021-08-19 Thread Jeff Law via Gcc-patches




On 8/19/2021 12:24 PM, Gerald Pfeifer wrote:

On Thu, 19 Aug 2021, Jeff Law via Gcc-patches wrote:

Whee, two more ports dropping stabs. Committed to the trunk.

Are you saying you're on a mission to stab wodden stakes into stabs?
Seems that way  :-)    I hadn't really set out to do that, but once rl78 
started failing stabs stuff, I figured I might as well just start the 
process of killing off stabs.  I suspect for the majority of targets 
it's trivial like we've seen for rl78, v8 and h8.


jeff