diff options
author | Jeff Law <law@redhat.com> | 1996-06-18 22:26:09 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-06-18 22:26:09 +0000 |
commit | 2459179f7a082da7b16b89f914c055f3656c54c5 (patch) | |
tree | e1a3bad12d8a263f594c39267832bdf8fee01682 /bfd/.Sanitize | |
parent | 24b018ee7287634e2db7944185d94985a0ba1bc4 (diff) | |
download | gdb-2459179f7a082da7b16b89f914c055f3656c54c5.zip gdb-2459179f7a082da7b16b89f914c055f3656c54c5.tar.gz gdb-2459179f7a082da7b16b89f914c055f3656c54c5.tar.bz2 |
* coff-h8300.c: Remove #if 0 code.
(compatable): Don't allow mixing/matching of different architectures.
Just stuff I noticed.
start-sanitize-h8s
* archures.c (bfd_mach_h8300s): Add.
* bfd-in2.h: Rebuilt.
* coff-h8300.c (funcvec_hash_newfunc): Handle H8/S too.
(BADMAG): Likewise.
(h8300_reloc16_estimate): Likewise.
(h8300_reloc16_extra_cases): Likewise.
(h8300_bfd_link_add_symbols): Likewise.
* coffcode.h (coff_set_arch_mach_hook): Likewise.
(coff_set_flags): Likewise.
* cpu-h8300.c (h8300_scan): Likewise.
Add H8/S to bfd_h8300_arch list.
end-sanitize-h8s
H8/S support. Sanitized away until we know its official status.
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 8217e3f..4c38bfe 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -314,6 +314,34 @@ else done fi +h8s_files="archures.c coff-h8300.c coffcode.h cpu-h8300.c ChangeLog" +if ( echo $* | grep keep\-h8s > /dev/null ) ; then + for i in $h8s_files ; do + if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping h8s stuff in $i + fi + fi + done +else + for i in $h8s_files ; do + if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"h8s\" from $i... + fi + cp $i new + sed '/start\-sanitize\-h8s/,/end-\sanitize\-h8s/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 |