diff options
author | Jim Wilson <wilson@tuliptree.org> | 1996-06-08 03:52:13 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 1996-06-08 03:52:13 +0000 |
commit | f98286385f8693c0d56df7d02399b59522cbf334 (patch) | |
tree | 6f517bf3587af0e15b6382792d780aaeb3adb3a0 | |
parent | 4906b2a367d7a73dad85cd759466c271fe872068 (diff) | |
download | gdb-f98286385f8693c0d56df7d02399b59522cbf334.zip gdb-f98286385f8693c0d56df7d02399b59522cbf334.tar.gz gdb-f98286385f8693c0d56df7d02399b59522cbf334.tar.bz2 |
Kill r16/rce/acp stuff.
-rw-r--r-- | bfd/.Sanitize | 28 | ||||
-rw-r--r-- | bfd/aout-rce.c | 38 | ||||
-rw-r--r-- | bfd/cpu-rce.c | 67 | ||||
-rw-r--r-- | ld/emulparams/.Sanitize | 8 | ||||
-rw-r--r-- | ld/emulparams/rce.sh | 6 | ||||
-rw-r--r-- | ld/scripttempl/.Sanitize | 8 | ||||
-rw-r--r-- | ld/scripttempl/rce.sc | 30 |
7 files changed, 0 insertions, 185 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize index d2555a0..41c481c 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -250,34 +250,6 @@ Things-to-lose: Do-last: -rce_files="ChangeLog ChangeLog.2 Makefile.in archures.c bfd-in2.h config.bfd configure.in configure targets.c aoutx.h libaout.h" -if ( echo $* | grep keep\-rce > /dev/null ) ; then - for i in $rce_files ; do - if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping rce stuff in $i - fi - fi - done -else - for i in $rce_files ; do - if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"rce\" from $i... - fi - cp $i new - sed '/start\-sanitize\-rce/,/end-\sanitize\-rce/d' < $i > new - if [ -n "${safe}" -a ! -f .Recover/$i ] ; then - if [ -n "${verbose}" ] ; then - echo Caching $i in .Recover... - fi - mv $i .Recover - fi - mv new $i - fi - done -fi - arc_files="ChangeLog ChangeLog.2 Makefile.in archures.c reloc.c targets.c config.bfd configure.in configure bfd-in2.h elf.c libbfd.h" if ( echo $* | grep keep\-arc > /dev/null ) ; then for i in $arc_files ; do diff --git a/bfd/aout-rce.c b/bfd/aout-rce.c deleted file mode 100644 index e8664f9..0000000 --- a/bfd/aout-rce.c +++ /dev/null @@ -1,38 +0,0 @@ -/* BFD back-end for RCE a.out binaries. - Copyright 1990, 1991, 1992 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 2 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -#define TARGET_IS_BIG_ENDIAN_P -#define TARGET_PAGE_SIZE 4096 -#define SEGMENT_SIZE 4096 -#define TEXT_START_ADDR 0x0 -/* #define N_HEADER_IN_TEXT(x) 0 */ -#define N_SHARED_LIB(x) 0 -#define ARCH 32 -#define BYTES_IN_WORD 4 -#include "bfd.h" -#include "sysdep.h" -#include "libbfd.h" -#include "aout/aout64.h" -#include "aout/stab_gnu.h" -#include "aout/ar.h" -#include "libaout.h" -#define DEFAULT_ARCH bfd_arch_rce -#define MY(OP) CAT(rce_aout_,OP) -#define TARGETNAME "a.out-rce" -#include "aout-target.h" diff --git a/bfd/cpu-rce.c b/bfd/cpu-rce.c deleted file mode 100644 index ab2e216..0000000 --- a/bfd/cpu-rce.c +++ /dev/null @@ -1,67 +0,0 @@ -/* BFD library support routines for the Experiment RCE architecture. - Copyright (C) 1993 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 2 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -#include "bfd.h" -#include "sysdep.h" -#include "libbfd.h" - - -int bfd_default_scan_num_mach(); - -static boolean -scan_mach (info, string) - const struct bfd_arch_info *info; - const char *string; -{ - if (strcmp(string,"rce") == 0) return true; - if (strcmp(string,"RCE") == 0) return true; - return false; -} - - -#if 0 -/* This routine is provided two arch_infos and returns whether - they'd be compatible */ - -static const bfd_arch_info_type * -DEFUN(compatible,(a,b), - const bfd_arch_info_type *a AND - const bfd_arch_info_type *b) -{ - if (a->arch != b->arch || a->mach != b->mach) - return NULL; - return a; -} -#endif - -const bfd_arch_info_type bfd_rce_arch = -{ - 32, /* 32 bits in a word */ - 32, /* 32 bits in an address */ - 8, /* 8 bits in a byte */ - bfd_arch_rce, - 0, /* only 1 machine */ - "RCE", /* arch_name */ - "RCE", /* printable name */ - 1, - true, /* the default machine */ - bfd_default_compatible, - scan_mach, - 0, -}; diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize index db7f94e..68dee19 100644 --- a/ld/emulparams/.Sanitize +++ b/ld/emulparams/.Sanitize @@ -23,14 +23,6 @@ else lose_these_too="${arc_files} ${lose_these_too}" fi -rce_files="rce.sh" - -if ( echo $* | grep keep\-rce > /dev/null ) ; then - keep_these_too="${rce_files} ${keep_these_too}" -else - lose_these_too="${rce_files} ${lose_these_too}" -fi - # All files listed between the "Things-to-keep:" line and the # "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize diff --git a/ld/emulparams/rce.sh b/ld/emulparams/rce.sh deleted file mode 100644 index 7f15c93..0000000 --- a/ld/emulparams/rce.sh +++ /dev/null @@ -1,6 +0,0 @@ -SCRIPT_NAME=rce -OUTPUT_FORMAT="a.out-rce" -TARGET_PAGE_SIZE=0x1000 -TEXT_START_ADDR=0 -NONPAGED_TEXT_START_ADDR=0 -ARCH=rce diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize index f05fd27..ed8c003 100644 --- a/ld/scripttempl/.Sanitize +++ b/ld/scripttempl/.Sanitize @@ -15,14 +15,6 @@ Do-first: -rce_files="rce.sc" - -if ( echo $* | grep keep\-rce > /dev/null ) ; then - keep_these_too="${rce_files} ${keep_these_too}" -else - lose_these_too="${rce_files} ${lose_these_too}" -fi - # All files listed between the "Things-to-keep:" line and the # "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize diff --git a/ld/scripttempl/rce.sc b/ld/scripttempl/rce.sc deleted file mode 100644 index 8910fe9..0000000 --- a/ld/scripttempl/rce.sc +++ /dev/null @@ -1,30 +0,0 @@ -cat <<EOF -OUTPUT_FORMAT("${OUTPUT_FORMAT}") -OUTPUT_ARCH(${ARCH}) - -${RELOCATING+${LIB_SEARCH_DIRS}} -${RELOCATING+__DYNAMIC = 0;} -${STACKZERO+${RELOCATING+${STACKZERO}}} -${SHLIB_PATH+${RELOCATING+${SHLIB_PATH}}} -SECTIONS -{ - .text ${RELOCATING+${TEXT_START_ADDR}}: - { - CREATE_OBJECT_SYMBOLS - *(.text) - ${RELOCATING+_etext = ${DATA_ALIGNMENT};} - } - .data ${RELOCATING+${DATA_ALIGNMENT}} : - { - *(.data) - ${CONSTRUCTING+CONSTRUCTORS} - ${RELOCATING+_edata = .;} - - ${RELOCATING+ __bss_start = .}; - *(.bss) - *(COMMON) - ${RELOCATING+_end = . }; - ${RELOCATING+__end = . }; - } -} -EOF |