From 3acdeb5eeeb47616003ae2925e1c1e0a3a34075f Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Wed, 19 Feb 1997 01:41:48 +0000 Subject: [PATCH] Tue Feb 18 17:40:36 1997 Martin M. Hunt * common.h (EM_CYGNUS_D30V): Define. --- include/elf/.Sanitize | 28 ++++++++++++++++++++++++++++ include/elf/ChangeLog | 14 ++++++++++++++ include/elf/common.h | 17 +++++++++++++++-- 3 files changed, 57 insertions(+), 2 deletions(-) diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize index c59d17e..1144aec 100644 --- a/include/elf/.Sanitize +++ b/include/elf/.Sanitize @@ -121,6 +121,34 @@ else done fi +d30v_files="ChangeLog common.h" +if ( echo $* | grep keep\-d30v > /dev/null ) ; then + for i in $d30v_files ; do + if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping d30v stuff in $i + fi + fi + done +else + for i in $d30v_files ; do + if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"d30v\" from $i... + fi + cp $i new + sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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 + m32r_files="ChangeLog common.h" if ( echo $* | grep keep\-m32r > /dev/null ) ; then for i in $m32r_files ; do diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 651f4bd..dff383e 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,15 @@ +start-sanitize-d30v +Tue Feb 18 17:40:36 1997 Martin M. Hunt + + * common.h (EM_CYGNUS_D30V): Define. + +end-sanitize-d30v +start-sanitize-m32r +Mon Jan 27 11:54:44 1997 Doug Evans + + * m32r.h (enum reloc_type): Add R_M32R_HI16_[SU]LO,R_M32R_LO16. + +end-sanitize-m32r start-sanitize-v850 Fri Jan 3 11:32:51 1997 Michael Meissner @@ -5,6 +17,8 @@ Fri Jan 3 11:32:51 1997 Michael Meissner field. (SHN_V850_*): Remove v850 specific section indexes, which are not needed. + (enum reloc_type): Move the v850 relocations here from + elf32-v850.c Thu Jan 2 19:30:23 1997 Michael Meissner diff --git a/include/elf/common.h b/include/elf/common.h index e4edd64..131ec29 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -124,13 +124,20 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define EM_CYGNUS_D10V 0x7650 /* end-sanitize-d10v */ +/* start-sanitize-d30v */ +/* D30V backend magic number. Written in the absence of an ABI. */ +#define EM_CYGNUS_D30V 0x7676 +/* end-sanitize-d30v */ + /* start-sanitize-v850 */ /* V850 backend magic number. Written in the absense of an ABI. */ #define EM_CYGNUS_V850 0x9080 /* end-sanitize-v850 */ -/* V850 backend magic number. Written in the absense of an ABI. */ -#define EM_CYGNUS_MN10x00 0xdead +/* mn10200 and mn10300 backend magic numbers. + Written in the absense of an ABI. */ +#define EM_CYGNUS_MN10200 0xdead +#define EM_CYGNUS_MN10300 0xbeef /* See the above comment before you add a new EM_* value here. */ @@ -269,4 +276,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define DT_LOPROC 0x70000000 #define DT_HIPROC 0x7fffffff +/* These section tags are used on Solaris. We support them + everywhere, and hope they do not conflict. */ + +#define DT_AUXILIARY 0x7ffffffd +#define DT_FILTER 0x7fffffff + #endif /* _ELF_COMMON_H */ -- 2.7.4