On 05/31/2018 12:56 PM, Gerald Pfeifer wrote:
> On Thu, 24 May 2018, Jeff Law wrote:
>>> I can try to fix openbsd soon, but freebsd dropped alpha in 2009.
>>> How does gcc feel about me picking up patches from openbsd ports, their
>>> package manager, that weren't written by myself?
>> So ISTM we should deprecate freebsd alpha.
> 
> Ab-so-lutely.  In fact, just yank it out, without any deprecation.
> 
>    % grep sparc $PORTSDIR/lang/gcc*/Makefile | grep -i alpha | wc -l
>        0
> 
> None of the GCC ports in the FreeBSD Ports Collection (the oldest of 
> which is gcc47 right now) has had any trace of alpha support left for 
> years and years, and there have been zero requests/complaints.
> 
> Gerald
> 
Done.

Jeff
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 6c184f766b7..f3f7928859e 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2018-06-12  Jeff Law  <l...@redhat.com>
+
+       * config-list.mk (LIST): Remove alpha-freebsd6.
+
 2018-05-08  Richard Biener  <rguent...@suse.de>
 
        PR bootstrap/85571
diff --git a/contrib/config-list.mk b/contrib/config-list.mk
index fee08b02a2b..d04aca237f5 100644
--- a/contrib/config-list.mk
+++ b/contrib/config-list.mk
@@ -31,7 +31,7 @@ GCC_SRC_DIR=../../gcc
 
 # v850e1-elf is rejected by config.sub
 LIST = aarch64-elf aarch64-linux-gnu aarch64-rtems \
-  alpha-linux-gnu alpha-freebsd6 alpha-netbsd alpha-openbsd \
+  alpha-linux-gnu alpha-netbsd alpha-openbsd \
   alpha64-dec-vms alpha-dec-vms \
   arc-elf32OPT-with-cpu=arc600 arc-elf32OPT-with-cpu=arc700 \
   arc-linux-uclibcOPT-with-cpu=arc700 arceb-linux-uclibcOPT-with-cpu=arc700 \
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1bba11ccd67..20d862c91f4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2018-06-12  Jeff Law  <l...@redhat.com>
+
+       * config.gcc (alpha*-*-freebsd*): Remove.
+       * config/alpha/freebsd.h: Remove.
+
 2018-06-12  David Malcolm  <dmalc...@redhat.com>
 
        PR other/69968
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 8b2fd908c38..2f17eb0d5fa 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1026,11 +1026,6 @@ alpha*-*-linux*)
        tmake_file="${tmake_file} alpha/t-linux alpha/t-alpha"
        extra_options="${extra_options} alpha/elf.opt"
        ;;
-alpha*-*-freebsd*)
-       tm_file="elfos.h ${tm_file} ${fbsd_tm_file} alpha/elf.h alpha/freebsd.h"
-       tmake_file="${tmake_file} alpha/t-alpha"
-       extra_options="${extra_options} alpha/elf.opt"
-       ;;
 alpha*-*-netbsd*)
        tm_file="elfos.h ${tm_file} ${nbsd_tm_file} alpha/elf.h alpha/netbsd.h"
        tmake_file="${tmake_file} alpha/t-alpha"
diff --git a/gcc/config/alpha/freebsd.h b/gcc/config/alpha/freebsd.h
deleted file mode 100644
index 22362226627..00000000000
--- a/gcc/config/alpha/freebsd.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/* Definitions for DEC Alpha/AXP running FreeBSD using the ELF format
-   Copyright (C) 2000-2018 Free Software Foundation, Inc.
-   Contributed by David E. O'Brien <obr...@freebsd.org> and BSDi.
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 3, or (at your option)
-any later version.
-
-GCC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING3.  If not see
-<http://www.gnu.org/licenses/>.  */
-
-
-#undef  EXTRA_SPECS
-#define EXTRA_SPECS \
-  { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
-
-/* Provide a CPP_SPEC appropriate for FreeBSD/alpha -- dealing with
-   the GCC option `-posix'.  */
-
-#undef  CPP_SPEC
-#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}"
-
-#define LINK_SPEC "%{G*} %{relax:-relax}                               \
-  %{p:%nconsider using '-pg' instead of '-p' with gprof(1)}            \
-  %{assert*} %{R*} %{rpath*} %{defsym*}                                        
\
-  %{shared:-Bshareable %{h*} %{soname*}}                               \
-  %{!shared:                                                           \
-    %{!static:                                                         \
-      %{rdynamic:-export-dynamic}                                      \
-      -dynamic-linker %(fbsd_dynamic_linker) } \
-    %{static:-Bstatic}}                                                        
\
-  %{symbolic:-Bsymbolic}"
-
-
-/************************[  Target stuff  ]***********************************/
-
-/* Define the actual types of some ANSI-mandated types.  
-   Needs to agree with <machine/ansi.h>.  GCC defaults come from c-decl.c,
-   c-common.c, and config/<arch>/<arch>.h.  */
-
-/* alpha.h gets this wrong for FreeBSD.  We use the GCC defaults instead.  */
-#undef WCHAR_TYPE
-
-#undef  WCHAR_TYPE_SIZE
-#define WCHAR_TYPE_SIZE        32
-
-#define TARGET_ELF     1
-
-#undef HAS_INIT_SECTION
-
-/* Show that we need a GP when profiling.  */
-#undef  TARGET_PROFILING_NEEDS_GP
-#define TARGET_PROFILING_NEEDS_GP 1
-
-/* Don't default to pcc-struct-return, we want to retain compatibility with
-   older FreeBSD releases AND pcc-struct-return may not be reentrant.  */
-
-#undef  DEFAULT_PCC_STRUCT_RETURN
-#define DEFAULT_PCC_STRUCT_RETURN 0

Reply via email to