old-cross-binutils/gas/.Sanitize
Ken Raeburn 10db66ecfd I80960XL support (sanitized), misc cleanup:
* config/tc-i960.h (TC_COFF_SET_MACHINE): New macro.  Calls tc_headers_hook.

* config/tc-i960.c (targ_has_iclass): Use I_CX | I_CX2 where I_CX was used
previously.
(tc_headers_hook): If I_CX2 is found, set flags to F_I960CA.

* config/tc-i960.c (po_hash): Declaration deleted.
(next_object_file_charP): Ditto.
(regnames, aregs, coj): Now const.
(parse_memop): Static array def_scale now const.
(md_begin): Cast away const when passing hash routines addresses of values in
regnames or aregs.
(md_longopts): Added "link-relax" and "no-relax" hyphenated forms.  Continue to
accept one-word forms.
(struct tabentry, arch_tab): Moved to top level from inside md_parse_option.
Now const.
(md_show_usage): Use arch_tab to generate usage message.  Print hyphenated
forms of relax options.

* config/tc-i960.h (DEFINE_I960_AOUT, TC_S_IS_*, TC_S_*_SYSPROC,
TC_S_FORCE_TO_*): Moved from here...
* config/tc-i960.c: ... to here.  Changed DEFINE_I960_AOUT stuff to test
OBJ_AOUT and OBJ_BOUT directly.

* config/tc-i960.h (CTRL, COBR, COJ, REG, MEM*, FBRA, CALLJ, M1-M3, REG_OPC,
R_*, SFR, LIT, FP, OP, R, RS, RL, RSL, F, {R,F}{,L}{2,4}, M, SFR_OK, LIT_OK,
FP_OK, REG_ALIGN, MEMOP, I_*): Macros deleted.

* config/tc-i960.c (ARCH_XL): Define.
(arch_tab): Include XL.
(targ_has_sfr, targ_has_iclass): Handle XL.
(tc_headers_hook): Set flags to F_I960XL for i960XL.
1994-07-27 00:58:19 +00:00

126 lines
2.2 KiB
Text

# .Sanitize for devo/gas.
# Each directory to survive its way into a release will need a file
# like this one called "./.Sanitize". All keyword lines must exist,
# and must exist in the order specified by this file. Each directory
# in the tree will be processed, top down, in the following order.
# Hash started lines like this one are comments and will be deleted
# before anything else is done. Blank lines will also be squashed
# out.
# The lines between the "Do-first:" line and the "Things-to-keep:"
# line are executed as a /bin/sh shell script before anything else is
# done in this directory.
Do-first:
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
keep_these_too="mpw-config.in mpw-make.in ChangeLog.mpw"
else
lose_these_too="mpw-config.in mpw-make.in ChangeLog.mpw"
fi
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
# called. Directories not listed will be removed in their entirety
# with rm -rf.
Things-to-keep:
.gdbinit
CONTRIBUTORS
COPYING
ChangeLog
Makefile.in
NEWS
NOTES
NOTES.config
README
README-quirks
README-vms
README.coff
README.rich
app.c
as.c
as.h
atof-generic.c
bignum-copy.c
bignum.h
bit_fix.h
cond.c
config
config-gas.com
configure.bat
configure.in
debug.c
doc
ecoff.c
ecoff.h
expr.c
expr.h
flonum-copy.c
flonum-konst.c
flonum-mult.c
flonum.h
frags.c
frags.h
gasp.c
hash.c
hash.h
hex-value.c
input-file.c
input-file.h
input-scrub.c
link.cmd
listing.c
listing.h
literal.c
make-gas.com
messages.c
obj.h
output-file.c
output-file.h
read.c
read.h
stabs.c
struc-symbol.h
subsegs.c
subsegs.h
symbols.c
symbols.h
tc.h
testsuite
vmsconf.sh
write.c
write.h
xmalloc.c
Things-to-lose:
Do-last:
i960xl_files=ChangeLog
if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
if [ -n "${verbose}" ] ; then
echo Keeping i960xl stuff in $i960xl_files.
fi
else
if [ -n "${verbose}" ]; then
echo -n Cleaning i960xl in `pwd`:
fi
for f in $i960xl_files ; do
if [ -n "${verbose}" ] ; then
echo -n " " $f
fi
sed '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' < $f > new
if [ -n "${safe}" ] ; then
mv $f .Recover
fi
mv new $f
done
fi
#
# End of file.