[binutils-gdb] Remove hosts/mipsbsd.h and scripttempl/mipsbsd.sc

H.J. Lu hjl@sourceware.org
Fri Jan 19 15:25:37 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dbca3300ea7ad55dfd3dfed29d8a6386736138cd

commit dbca3300ea7ad55dfd3dfed29d8a6386736138cd
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Jan 19 07:15:30 2024 -0800

    Remove hosts/mipsbsd.h and scripttempl/mipsbsd.sc
    
    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.

Diff:
---
 bfd/hosts/mipsbsd.h       | 31 -------------------------------
 ld/scripttempl/mipsbsd.sc | 42 ------------------------------------------
 2 files changed, 73 deletions(-)

diff --git a/bfd/hosts/mipsbsd.h b/bfd/hosts/mipsbsd.h
deleted file mode 100644
index e2d0e7d24a6..00000000000
--- a/bfd/hosts/mipsbsd.h
+++ /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
index faa33cdc345..00000000000
--- a/ld/scripttempl/mipsbsd.sc
+++ /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


More information about the Binutils-cvs mailing list