From 1c2cdd56e2a682dfe2040daaf0b8862470ab7991 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 14 Jun 2004 13:59:44 +0000 Subject: [PATCH] config.gcc: Remove sparc64-*-aout*. * 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. From-SVN: r83101 --- gcc/ChangeLog | 7 +++++ gcc/config.gcc | 4 --- gcc/config/sparc/aout.h | 54 ------------------------------------ gcc/config/sparc/sp64-aout.h | 33 ---------------------- gcc/config/sparc/sparc.c | 17 ------------ 5 files changed, 7 insertions(+), 108 deletions(-) delete mode 100644 gcc/config/sparc/aout.h delete mode 100644 gcc/config/sparc/sp64-aout.h diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3cb4f7220f4..7b60b7ac565 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2004-06-14 Ian Lance Taylor + + * 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 * config/s390/s390.c: Include "tree-gimple.h". diff --git a/gcc/config.gcc b/gcc/config.gcc index 8bf7d0eb85e..0aad3415364 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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 index 5c5e6226888..00000000000 --- a/gcc/config/sparc/aout.h +++ /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 index 376cfa883e9..00000000000 --- a/gcc/config/sparc/sp64-aout.h +++ /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 diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 2f08388eb02..a01630e06ad 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -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 (); } -/* 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) { -- 2.30.2