Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/or1k retire or1k gcc 4.9 c...
details: https://anonhg.NetBSD.org/src/rev/b4cf80642104
branches: trunk
changeset: 454915:b4cf80642104
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Oct 02 02:50:38 2019 +0000
description:
retire or1k gcc 4.9 code.
diffstat:
external/gpl3/gcc/dist/gcc/config/or1k/constraints.md | 59 -
external/gpl3/gcc/dist/gcc/config/or1k/elf.h | 31 -
external/gpl3/gcc/dist/gcc/config/or1k/linux-elf.h | 98 -
external/gpl3/gcc/dist/gcc/config/or1k/linux-gas.h | 37 -
external/gpl3/gcc/dist/gcc/config/or1k/netbsd.h | 61 -
external/gpl3/gcc/dist/gcc/config/or1k/or1k-modes.def | 38 -
external/gpl3/gcc/dist/gcc/config/or1k/or1k-opts.h | 14 -
external/gpl3/gcc/dist/gcc/config/or1k/or1k-protos.h | 67 -
external/gpl3/gcc/dist/gcc/config/or1k/or1k.c | 2433 -----------------
external/gpl3/gcc/dist/gcc/config/or1k/or1k.h | 1202 --------
external/gpl3/gcc/dist/gcc/config/or1k/or1k.md | 1599 -----------
external/gpl3/gcc/dist/gcc/config/or1k/or1k.opt | 96 -
external/gpl3/gcc/dist/gcc/config/or1k/predicates.md | 121 -
external/gpl3/gcc/dist/gcc/config/or1k/t-linux | 12 -
external/gpl3/gcc/dist/gcc/config/or1k/t-or1k | 28 -
external/gpl3/gcc/dist/gcc/config/or1k/t-or1knd | 28 -
16 files changed, 0 insertions(+), 5924 deletions(-)
diffs (truncated from 5988 to 300 lines):
diff -r 89def24cfbec -r b4cf80642104 external/gpl3/gcc/dist/gcc/config/or1k/constraints.md
--- a/external/gpl3/gcc/dist/gcc/config/or1k/constraints.md Wed Oct 02 01:34:09 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-;; Copyright (C) 2010 Embecosm Limited
-;;
-;; Contributed by Joern Rennecke <joern.rennecke%embecosm.com@localhost> in 2010
-;;
-;; 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/>.
-
-(define_constraint "I"
- ""
- (and (match_code "const_int")
- (match_test "ival >= -32768 && ival <= 32767")))
-
-(define_constraint "J"
- ""
- (and (match_code "const_int")
- (match_test "ival == 0")))
-
-(define_constraint "K"
- ""
- (and (match_code "const_int")
- (match_test "ival >= 0 && ival <= 65535")))
-
-(define_constraint "L"
- ""
- (and (match_code "const_int")
- (match_test "ival >= 0 && ival <= 31")))
-
-(define_constraint "M"
- ""
- (and (match_code "const_int")
- (match_test "(ival & 0xffff) == 0")))
-
-(define_constraint "N"
- ""
- (and (match_code "const_int")
- (match_test "ival >= -33554432 && ival <= 33554431")))
-
-(define_constraint "O"
- ""
- (and (match_code "const_int")
- (match_test "ival == 0")))
-
-(define_constraint "C"
- ""
- (match_code "const_double"))
-
diff -r 89def24cfbec -r b4cf80642104 external/gpl3/gcc/dist/gcc/config/or1k/elf.h
--- a/external/gpl3/gcc/dist/gcc/config/or1k/elf.h Wed Oct 02 01:34:09 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-/* Definitions for rtems targeting an OpenRisc OR1K using COFF
- ??? this is for OR1K, but the rest of the above seems bogus.
- Copyright (C) 1996, 1997, 2005 Free Software Foundation, Inc.
- Contributed by Joel Sherrill (joel%OARcorp.com@localhost).
-
-This file is part of GNU CC.
-
-GNU CC 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 2, or (at your option)
-any later version.
-
-GNU CC 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 GNU CC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-/* Use ELF */
-#undef OBJECT_FORMAT_ELF
-#define OBJECT_FORMAT_ELF
-
-/* or1k debug info support is controlled by tm.h header files we include:
- dbxelf.h enables optional stabs debug info.
- elfos.h sets PREFERRED_DEBUGGING_TYPE to DWARF2_DEBUG . */
-
-#define DRIVER_SELF_SPECS "%{!mno-newlib:-mnewlib}"
diff -r 89def24cfbec -r b4cf80642104 external/gpl3/gcc/dist/gcc/config/or1k/linux-elf.h
--- a/external/gpl3/gcc/dist/gcc/config/or1k/linux-elf.h Wed Oct 02 01:34:09 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,98 +0,0 @@
-/* Definitions for or1k running Linux-based GNU systems using ELF
- Copyright (C) 2002, 2005
- Free Software Foundation, Inc.
- Contributed by Marko Mlinar <markom%opencores.org@localhost>
-
-This file is part of GNU CC.
-
-GNU CC 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 2, or (at your option)
-any later version.
-
-GNU CC 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 this program; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-/* elfos.h should have already been included. Now just override
- any conflicting definitions and add any extras. */
-
-/* Do not assume anything about header files. */
-#define NO_IMPLICIT_EXTERN_C
-
-/* This is how we tell the assembler that two symbols have the same value. */
-#define ASM_OUTPUT_DEF(FILE, NAME1, NAME2) \
- do \
- { \
- assemble_name (FILE, NAME1); \
- fputs (" = ", FILE); \
- assemble_name (FILE, NAME2); \
- fputc ('\n', FILE); \
- } \
- while (0)
-
-
-#if 0
-/* Node: Label Output */
-
-#define SET_ASM_OP "\t.set\t"
-
-#define ASM_OUTPUT_EXTERNAL_LIBCALL(FILE, FUN) \
- (*targetm.asm_out.globalize_label) (FILE, XSTR (FUN, 0))
-
-#define ASM_WEAKEN_LABEL(FILE, NAME) \
- do \
- { \
- fputs ("\t.weak\t", (FILE)); \
- assemble_name ((FILE), (NAME)); \
- fputc ('\n', (FILE)); \
- } \
- while (0)
-
-#endif
-
-/* The GNU C++ standard library requires that these macros be defined. */
-#undef CPLUSPLUS_CPP_SPEC
-#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
-
-#undef DRIVER_SELF_SPECS
-#define DRIVER_SELF_SPECS ""
-
-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
-
-/* Define a set of Linux builtins. This is copied from linux.h. We can't
- include the whole file for now, because that causes configure to require ld
- to support --eh-frame-header, which it currently doesn't */
-#define LINUX_TARGET_OS_CPP_BUILTINS() \
- do { \
- builtin_define ("__gnu_linux__"); \
- builtin_define_std ("linux"); \
- builtin_define_std ("unix"); \
- builtin_assert ("system=linux"); \
- builtin_assert ("system=unix"); \
- builtin_assert ("system=posix"); \
- } while (0)
-
-#define TARGET_OS_CPP_BUILTINS() \
- do { \
- LINUX_TARGET_OS_CPP_BUILTINS(); \
- if (OPTION_UCLIBC) \
- builtin_define ("__UCLIBC__"); \
- /* The GNU C++ standard library requires this. */ \
- if (c_dialect_cxx ()) \
- builtin_define ("_GNU_SOURCE"); \
- } while (0)
-
-#undef LINK_SPEC
-#define LINK_SPEC "%{mnewlib:-entry 0x100} \
- -dynamic-linker " GNU_USER_DYNAMIC_LINKER " \
- %{rdynamic:-export-dynamic} \
- %{static:-static} \
- %{shared:-shared}"
-
diff -r 89def24cfbec -r b4cf80642104 external/gpl3/gcc/dist/gcc/config/or1k/linux-gas.h
--- a/external/gpl3/gcc/dist/gcc/config/or1k/linux-gas.h Wed Oct 02 01:34:09 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-/* Definitions of target machine for GNU compiler.
- Or32 Linux-based GNU systems version.
- Copyright (C) 2002, 2005 Free Software Foundation, Inc.
- Contributed by Marko Mlinar <markom%opencores.org@localhost>
-
-This file is part of GNU CC.
-
-GNU CC 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 2, or (at your option)
-any later version.
-
-GNU CC 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 this program; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-/* Unsigned chars produces much better code than signed. */
-#undef DEFAULT_SIGNED_CHAR
-#define DEFAULT_SIGNED_CHAR 1
-
-/* Make gcc agree with <machine/ansi.h> */
-
-#define SIZE_TYPE "unsigned int"
-#define PTRDIFF_TYPE "int"
-#define WCHAR_TYPE "unsigned int"
-#define WCHAR_TYPE_SIZE 32
-
-
-/* Clear the instruction cache from `beg' to `end'. This makes an
- inline system call to SYS_cacheflush. */
-#define CLEAR_INSN_CACHE(BEG, END) /* Do something here !!! */
diff -r 89def24cfbec -r b4cf80642104 external/gpl3/gcc/dist/gcc/config/or1k/netbsd.h
--- a/external/gpl3/gcc/dist/gcc/config/or1k/netbsd.h Wed Oct 02 01:34:09 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-/* Definitions for or1k running NetBSD systems using ELF
- Copyright (C) 2014
- Free Software Foundation, Inc.
- Contributed by Matt Thomas <matt%netbsd.org@localhost>
-
-This file is part of GNU CC.
-
-GNU CC 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 2, or (at your option)
-any later version.
-
-GNU CC 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 this program; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-/* This is how we tell the assembler that two symbols have the same value. */
-#define ASM_OUTPUT_DEF(FILE, NAME1, NAME2) \
- do \
- { \
- assemble_name (FILE, NAME1); \
- fputs (" = ", FILE); \
- assemble_name (FILE, NAME2); \
- fputc ('\n', FILE); \
- } \
- while (0)
-
-#undef DRIVER_SELF_SPECS
-#define DRIVER_SELF_SPECS ""
-
-#define TARGET_OS_CPP_BUILTINS() \
- do { \
- NETBSD_OS_CPP_BUILTINS_ELF(); \
- /* The GNU C++ standard library requires this. */ \
- if (c_dialect_cxx ()) \
- builtin_define ("_GNU_SOURCE"); \
- } while (0)
-
-#undef CPP_SPEC
-#define CPP_SPEC NETBSD_CPP_SPEC
-
-#undef LIB_SPEC
-#define LIB_SPEC NETBSD_LIB_SPEC
-
-#undef LINK_SPEC
-#define LINK_SPEC NETBSD_LINK_SPEC_ELF
-
-#undef NETBSD_ENTRY_POINT
-#define NETBSD_ENTRY_POINT "_start"
Home |
Main Index |
Thread Index |
Old Index