diff options
author | Jeff Law <law@redhat.com> | 1998-06-26 16:59:08 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1998-06-26 16:59:08 +0000 |
commit | 4db4e912e197fee94e6e63904cd43341d51785ac (patch) | |
tree | f0c489cb57b6323c0078fee2d428e08154b902ca /bfd/.Sanitize | |
parent | 3f1bb6f2d61645ddbec948a16e1499241e2d6968 (diff) | |
download | gdb-4db4e912e197fee94e6e63904cd43341d51785ac.zip gdb-4db4e912e197fee94e6e63904cd43341d51785ac.tar.gz gdb-4db4e912e197fee94e6e63904cd43341d51785ac.tar.bz2 |
* archures.c (bfd_mach_mn10300): Define.
* elf-m10300.c: Include elf/mn10300.h
(elf_mn10300_mach): New function.
(_bfd_mn10300_elf_final_write_processing): Likewise.
(_bfd_mn10300_elf_object_p): Likewise.
(elf_backendfinal_write_processing): Define.
(elf_backend_object_p): Likewise.
start-sanitize-am33
* archures.c (bfd_mach_am33): Define.
* cpu-m10300.c (bfd_am33_arch): New arch info structure. Link it
into the NEXT field of bfd_mn10300_arch.
end-sanitize-am33
Diffstat (limited to 'bfd/.Sanitize')
-rw-r--r-- | bfd/.Sanitize | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize index 98bfba7..4abfe9d 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -299,6 +299,34 @@ Things-to-lose: Do-last: +am33_files="ChangeLog archures.c bfd-in2.h cpu-m10300.c elf-m10300.c" +if ( echo $* | grep keep\-am33 > /dev/null ) ; then + for i in $am33_files ; do + if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping am33 stuff in $i + fi + fi + done +else + for i in $am33_files ; do + if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"am33\" from $i... + fi + cp $i new + sed '/start\-sanitize\-am33/,/end-\sanitize\-am33/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 Makefile.am 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 |