]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove hosts/mipsbsd.h and scripttempl/mipsbsd.sc
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 19 Jan 2024 15:15:30 +0000 (07:15 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 19 Jan 2024 15:25:31 +0000 (07:25 -0800)
Remove hosts/mipsbsd.h and scripttempl/mipsbsd.sc which are unused
after

commit 3596d8ceb2cdc35b4fd702ee9daace5a2d880174
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Apr 18 15:39:34 2018 +0930

    Remove mips aout, coff, and pe support

bfd/

* hosts/mipsbsd.h: Removed.

ld/

* scripttempl/mipsbsd.sc: Removed.

bfd/hosts/mipsbsd.h [deleted file]
ld/scripttempl/mipsbsd.sc [deleted file]

diff --git a/bfd/hosts/mipsbsd.h b/bfd/hosts/mipsbsd.h
deleted file mode 100644 (file)
index e2d0e7d..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/* Copyright (C) 2007-2024 Free Software Foundation, Inc.
-
-   This file is part of BFD, the Binary File Descriptor library.
-
-   This program 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 of the License, or
-   (at your option) any later version.
-
-   This program 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; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
-   MA 02110-1301, USA.  */
-
-#include <machine/param.h>
-#include <machine/vmparam.h>
-#undef ALIGN
-
-#define        HOST_PAGE_SIZE          NBPG
-/* #define     HOST_SEGMENT_SIZE       NBPG -- we use HOST_DATA_START_ADDR */
-#define        HOST_MACHINE_ARCH       bfd_arch_mips
-/* #define     HOST_MACHINE_MACHINE     */
-
-#define        HOST_TEXT_START_ADDR            USRTEXT
-#define        HOST_STACK_END_ADDR             USRSTACK
-#define NO_CORE_COMMAND
diff --git a/ld/scripttempl/mipsbsd.sc b/ld/scripttempl/mipsbsd.sc
deleted file mode 100644 (file)
index faa33cd..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright (C) 2014-2024 Free Software Foundation, Inc.
-#
-# Copying and distribution of this file, with or without modification,
-# are permitted in any medium without royalty provided the copyright
-# notice and this notice are preserved.
-
-cat <<EOF
-/* Copyright (C) 2014-2024 Free Software Foundation, Inc.
-
-   Copying and distribution of this script, with or without modification,
-   are permitted in any medium without royalty provided the copyright
-   notice and this notice are preserved.  */
-
-OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
-             "${LITTLE_OUTPUT_FORMAT}")
-OUTPUT_ARCH(${ARCH})
-
-${RELOCATING+${LIB_SEARCH_DIRS}}
-SECTIONS
-{
-  ${RELOCATING+. = ${TEXT_START_ADDR};}
-  .text :
-  {
-    CREATE_OBJECT_SYMBOLS
-    *(.text)
-    ${RELOCATING+etext = ${DATA_ALIGNMENT};}
-  }
-  ${RELOCATING+. = ${DATA_ALIGNMENT};}
-  .data :
-  {
-    *(.data)
-    ${CONSTRUCTING+CONSTRUCTORS}
-    ${RELOCATING+edata  =  .;}
-  }
-  .bss :
-  {
-   *(.bss)
-   *(COMMON)
-   ${RELOCATING+end = . };
-  }
-}
-EOF