OSDN Git Service

* config.gcc: Remove sparc64-*-aout*.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Jun 2004 13:59:44 +0000 (13:59 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Jun 2004 13:59:44 +0000 (13:59 +0000)
* config/sparc/sparc.c (sparc_aout_select_rtx_section): Remove.
* config/sparc/sp64-aout.h: Remove.
* config/sparc/aout.h: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83101 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc
gcc/config/sparc/aout.h [deleted file]
gcc/config/sparc/sp64-aout.h [deleted file]
gcc/config/sparc/sparc.c

index 3cb4f72..7b60b7a 100644 (file)
@@ -1,3 +1,10 @@
+2004-06-14  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * config.gcc: Remove sparc64-*-aout*.
+       * config/sparc/sparc.c (sparc_aout_select_rtx_section): Remove.
+       * config/sparc/sp64-aout.h: Remove.
+       * config/sparc/aout.h: Remove.
+
 2004-06-14  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * config/s390/s390.c: Include "tree-gimple.h".
index 8bf7d0e..0aad341 100644 (file)
@@ -1903,10 +1903,6 @@ sparc86x-*-elf*)
         extra_parts="crtbegin.o crtend.o"
        use_fixproto=yes
        ;;
-sparc64-*-aout*)
-       tm_file="sparc/sparc.h sparc/aout.h sparc/sp64-aout.h"
-       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"
        tmake_file="${tmake_file} sparc/t-crtfm"
diff --git a/gcc/config/sparc/aout.h b/gcc/config/sparc/aout.h
deleted file mode 100644 (file)
index 5c5e622..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/* Definitions of target machine for GCC, for SPARC using a.out.
-   Copyright (C) 1994, 1996, 2002, 2004 Free Software Foundation, Inc.
-   Contributed by Michael Tiemann (tiemann@cygnus.com).
-
-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 2, 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 COPYING.  If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.  */
-
-/* Print subsidiary information on the compiler version in use.  */
-
-#define TARGET_VERSION fprintf (stderr, " (sparc)");
-
-/* These compiler options take an argument.  We ignore -target for now.  */
-
-#define WORD_SWITCH_TAKES_ARG(STR)                             \
- (DEFAULT_WORD_SWITCH_TAKES_ARG (STR)                          \
-  || !strcmp (STR, "target") || !strcmp (STR, "assert"))
-
-#define TARGET_ASM_SELECT_RTX_SECTION  sparc_aout_select_rtx_section
-
-/* Output the label for a function definition.  */
-
-#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL)                    \
-do {                                                                   \
-  ASM_DECLARE_RESULT (FILE, DECL_RESULT (DECL));                       \
-  ASM_OUTPUT_LABEL (FILE, NAME);                                       \
-} while (0)
-
-/* Output before read-only data.  */
-
-#define TEXT_SECTION_ASM_OP "\t.text"
-
-/* Output before writable data.  */
-
-#define DATA_SECTION_ASM_OP "\t.data"
-
-/* This is how to output a note to DBX telling it the line number
-   to which the following sequence of instructions corresponds.  */
-#define ASM_OUTPUT_SOURCE_LINE(file, line, counter)    \
-  fprintf (file, ".stabn 68,0,%d,LM%d\nLM%d:\n",       \
-          line, counter, counter)
diff --git a/gcc/config/sparc/sp64-aout.h b/gcc/config/sparc/sp64-aout.h
deleted file mode 100644 (file)
index 376cfa8..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Definitions of target machine for GCC, for SPARC64, a.out.
-   Copyright (C) 1994, 1996, 1997, 1998  Free Software Foundation, Inc.
-   Contributed by Doug Evans, dje@cygnus.com.
-
-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 2, 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 COPYING.  If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.  */
-
-
-#undef TARGET_VERSION
-#define TARGET_VERSION fprintf (stderr, " (sparc64-aout)")
-
-#undef TARGET_DEFAULT
-#define TARGET_DEFAULT \
-  (MASK_V9 + MASK_PTR64 + MASK_64BIT + MASK_HARD_QUAD \
-   + MASK_APP_REGS + MASK_FPU + MASK_STACK_BIAS)
-
-/* The only code model supported is Medium/Low.  */
-#undef SPARC_DEFAULT_CMODEL
-#define SPARC_DEFAULT_CMODEL CM_MEDLOW
index 2f08388..a01630e 100644 (file)
@@ -151,9 +151,6 @@ static void sparc_function_prologue (FILE *, HOST_WIDE_INT, int);
 #ifdef OBJECT_FORMAT_ELF
 static void sparc_elf_asm_named_section (const char *, unsigned int);
 #endif
-static void sparc_aout_select_rtx_section (enum machine_mode, rtx,
-                                          unsigned HOST_WIDE_INT)
-     ATTRIBUTE_UNUSED;
 
 static int sparc_adjust_cost (rtx, rtx, rtx, int);
 static int sparc_issue_rate (void);
@@ -8137,20 +8134,6 @@ sparc_init_libfuncs (void)
   gofast_maybe_init_libfuncs ();
 }
 \f
-/* Use text section for a constant unless we need more alignment than
-   that offers.  */
-
-static void
-sparc_aout_select_rtx_section (enum machine_mode mode, rtx x,
-                              unsigned HOST_WIDE_INT align)
-{
-  if (align <= MAX_TEXT_ALIGN
-      && ! (flag_pic && symbolic_operand (x, mode)))
-    readonly_data_section ();
-  else
-    data_section ();
-}
-
 int
 sparc_extra_constraint_check (rtx op, int c, int strict)
 {