From c6c7035cfbe209813006b7c28dac452412a0aeb8 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Thu, 20 Feb 1997 16:05:18 +0000 Subject: Since d10v is public now, remove all sanitization statements --- bfd/.Sanitize | 28 ---------------------------- bfd/ChangeLog | 14 +------------- bfd/bfd-in2.h | 5 ----- bfd/elf.c | 2 -- bfd/libbfd.h | 2 -- bfd/reloc.c | 2 -- 6 files changed, 1 insertion(+), 52 deletions(-) (limited to 'bfd') diff --git a/bfd/.Sanitize b/bfd/.Sanitize index 619acca..8a7d210 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -335,34 +335,6 @@ else done fi -d10v_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\-d10v > /dev/null ) ; then - for i in $d10v_files ; do - if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping d10v stuff in $i - fi - fi - done -else - for i in $d10v_files ; do - if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"d10v\" from $i... - fi - cp $i new - sed '/start\-sanitize\-d10v/,/end-\sanitize\-d10v/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 - d30v_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\-d30v > /dev/null ) ; then for i in $d30v_files ; do diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d8aec39..cef59c0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -628,13 +628,11 @@ Wed Nov 20 16:31:31 1996 Jeffrey A Law (law@cygnus.com) * elf32-mn10300.c: Rough cut at relocs for the mn10300. -start-sanitize-d10v Wed Nov 13 08:12:38 1996 Jeffrey A Law (law@cygnus.com) * Makefile.in (elf32-d10v.o): Don't depend on elf/d10v.h anymore. -end-sanitize-d10v Tue Nov 12 13:30:00 1996 Dawn Perchik * filemode.c: Include sysdep.h. @@ -656,13 +654,11 @@ Tue Oct 29 15:03:02 1996 Doug Evans complain_overflow_unsigned. end-sanitize-m32r -start-sanitize-d10v Tue Oct 29 12:53:46 1996 Martin M. Hunt * elf32-d10v.c (elf_d10v_howto_table): Don't complain on overflows for R_D10V_16 and R_D10V_18. -end-sanitize-d10v Tue Oct 29 13:23:53 1996 Ian Lance Taylor * ieee.c (ieee_write_section_part): Use LMA rather than VMA. @@ -1205,13 +1201,11 @@ Mon Sep 9 11:48:41 1996 Jeffrey A Law (law@cygnus.com) (case R_V850_HI16_S): Likewise. end-sanitize-v850 -start-sanitize-d10v Fri Sep 6 17:04:39 1996 Martin M. Hunt * elf32-d10v.c (elf_d10v_howto_table): Modify the size of R_D10V_16 and R_D10V_18 to be 1 (word). -end-sanitize-d10v Thu Sep 5 15:23:08 1996 Ian Lance Taylor * stabs.c (_bfd_link_section_stabs): If the output_section field @@ -1537,12 +1531,10 @@ Wed Aug 7 12:12:03 1996 Ian Lance Taylor (elf_i386_info_to_howto_rel): Check that the reloc type is valid. (elf_i386_relocate_section): Likewise. -start-sanitize-d10v Tue Aug 6 12:54:56 1996 Martin M. Hunt * elf32-d10v.c (elf_d10v_howto_table): Added R_D10V_32. -end-sanitize-d10v Mon Aug 5 13:42:41 1996 Ian Lance Taylor * elf.c (_bfd_elf_make_section_from_shdr): For a loadable section, @@ -1606,13 +1598,11 @@ Wed Jul 24 12:02:53 1996 Ian Lance Taylor memory position separately from the file position, and use it to compute the alignment adjustment. -start-sanitize-d10v Tue Jul 23 10:43:31 1996 Martin M. Hunt * elf32-d10v.c (elf_d10v_howto_table): Changed all relocs to "long" and fixed mask on R_D10V_10_PCREL_L. -end-sanitize-d10v Mon Jul 22 15:30:30 1996 Ian Lance Taylor * elf64-mips.c: Include "aout/ar.h". @@ -1702,7 +1692,6 @@ Wed Jul 17 18:02:32 1996 Kim Knuttila * coff-ppc.c: Redid debug scheme - numerous fprintf's gone. Also removed most abort calls, in favor of using bfd reporting. -start-sanitize-d10v Wed Jul 17 14:51:52 1996 Martin M. Hunt * Makefile.in (ALL_MACHINES): Add cpu-d10v.o. @@ -1719,7 +1708,6 @@ Wed Jul 17 14:51:52 1996 Martin M. Hunt * reloc.c (BFD_RELOC_D10V_10_PCREL_R, BFD_RELOC_D10V_10_PCREL_L, BFD_RELOC_D10V_18, BFD_RELOC_D10V_18_PCREL): Define. * targets.c (bfd_elf32_d10v_vec): New vector. -end-sanitize-d10v Wed Jul 17 10:58:55 1996 Kim Knuttila @@ -6411,7 +6399,7 @@ See file ChangeLog.2 Local Variables: -mode: indented-text +mode: change-log left-margin: 8 fill-column: 74 version-control: never diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index d46d5ea..7da8b02 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1210,9 +1210,7 @@ enum bfd_architecture bfd_arch_powerpc, /* PowerPC */ bfd_arch_rs6000, /* IBM RS/6000 */ bfd_arch_hppa, /* HP PA RISC */ - /* start-sanitize-d10v */ bfd_arch_d10v, /* Mitsubishi D10V */ - /* end-sanitize-d10v */ /* start-sanitize-d30v */ bfd_arch_d30v, /* Mitsubishi D30V */ /* end-sanitize-d30v */ @@ -1841,8 +1839,6 @@ through 0. */ BFD_RELOC_ARC_B26, /* end-sanitize-arc */ -/* start-sanitize-d10v */ - /* Mitsubishi D10V relocs. This is a 10-bit reloc with the right 2 bits assumed to be 0. */ @@ -1862,7 +1858,6 @@ assumed to be 0. */ /* This is an 18-bit reloc with the right 2 bits assumed to be 0. */ BFD_RELOC_D10V_18_PCREL, -/* end-sanitize-d10v */ /* start-sanitize-d30v */ diff --git a/bfd/elf.c b/bfd/elf.c index fd97456..07a0b48 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -2513,11 +2513,9 @@ prep_headers (abfd) case bfd_arch_sh: i_ehdrp->e_machine = EM_SH; break; -/* start-sanitize-d10v */ case bfd_arch_d10v: i_ehdrp->e_machine = EM_CYGNUS_D10V; break; -/* end-sanitize-d10v */ /* start-sanitize-d30v */ case bfd_arch_d30v: i_ehdrp->e_machine = EM_CYGNUS_D30V; diff --git a/bfd/libbfd.h b/bfd/libbfd.h index 2e5214c..66cc841 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -743,12 +743,10 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", "BFD_RELOC_ARC_B26", /* end-sanitize-arc */ -/* start-sanitize-d10v */ "BFD_RELOC_D10V_10_PCREL_R", "BFD_RELOC_D10V_10_PCREL_L", "BFD_RELOC_D10V_18", "BFD_RELOC_D10V_18_PCREL", -/* end-sanitize-d10v */ /* start-sanitize-d30v */ "BFD_RELOC_D30V_6", diff --git a/bfd/reloc.c b/bfd/reloc.c index 201f142..f499fd7 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -2240,7 +2240,6 @@ COMMENT {* end-sanitize-arc *} COMMENT -{* start-sanitize-d10v *} ENUM BFD_RELOC_D10V_10_PCREL_R ENUMDOC @@ -2266,7 +2265,6 @@ ENUMDOC This is an 18-bit reloc with the right 2 bits assumed to be 0. COMMENT -{* end-sanitize-d10v *} COMMENT {* start-sanitize-d30v *} -- cgit v1.1