From 1252987a6759e1202795525793a63488a00d109b Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Mon, 19 Aug 1996 18:00:53 +0000 Subject: [PATCH] * common.h (EM_CYGNUS_M32R): Define. --- include/elf/.Sanitize | 28 ++++++++++++++++++++++++++++ include/elf/ChangeLog | 15 ++++++++++++++- include/elf/common.h | 7 ++++++- 3 files changed, 48 insertions(+), 2 deletions(-) diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize index b3d9f55e926..96f2cb3ee81 100644 --- a/include/elf/.Sanitize +++ b/include/elf/.Sanitize @@ -113,6 +113,34 @@ else done fi +m32r_files="ChangeLog common.h" +if ( echo $* | grep keep\-m32r > /dev/null ) ; then + for i in $m32r_files ; do + if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping m32r stuff in $i + fi + fi + done +else + for i in $m32r_files ; do + if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"m32r\" from $i... + fi + cp $i new + sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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 + for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then echo '***' Some mentions of Sanitize are still left in $i! 1>&2 diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index c7302cd8acf..9a4279ade50 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,16 @@ +start-sanitize-m32r +Mon Aug 19 10:59:10 1996 Doug Evans + + * common.h (EM_CYGNUS_M32R): Define. +end-sanitize-m32r + +Mon Jul 22 18:59:55 1996 Ian Lance Taylor + + * mips.h (SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Define. + (SHT_MIPS_SYMBOL_LIB): Define. + (SHF_MIPS_MERGE, SHF_MIPS_ADDR32, SHF_MIPS_ADDR64): Define. + (SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL, SHF_MIPS_NAMES): Define. + Thu Jul 18 19:12:15 1996 Stan Shebs * dwarf2.h: New file. @@ -7,8 +20,8 @@ Thu Jul 18 13:20:39 1996 Martin M. Hunt * common.h (EM_CYGNUS_D10V): Define. * d10v.h: New file. + end-sanitize-d10v - Fri Jun 21 12:33:24 1996 Richard Henderson * alpha.h: New file. diff --git a/include/elf/common.h b/include/elf/common.h index c93295a49d8..4ca4ac444bb 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -109,12 +109,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define EM_CYGNUS_ARC 0x9040 /* end-sanitize-arc */ +/* start-sanitize-m32r */ +/* Cygnus M32R ELF backend. Written in the absence of an ABI. */ +#define EM_CYGNUS_M32R 0x9041 +/* end-sanitize-m32r */ + /* Alpha backend magic number. Written in the absence of an ABI. */ #define EM_ALPHA 0x9026 /* start-sanitize-d10v */ /* D10V backend magic number. Written in the absence of an ABI. */ -#define EM_CYGNUS_D10V 0x9027 +#define EM_CYGNUS_D10V 0x7650 /* end-sanitize-d10v */ /* See the above comment before you add a new EM_* value here. */ -- 2.30.2