aboutsummaryrefslogtreecommitdiff
path: root/gas/.Sanitize
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-07-27 00:58:19 +0000
committerKen Raeburn <raeburn@cygnus>1994-07-27 00:58:19 +0000
commit10db66ecfd20b6af9528af63ffd1c632ef8556c6 (patch)
tree0439e5511ed266342a01e475dc0849d83360ff36 /gas/.Sanitize
parent39792caf9932a6b784add46b1b6f24a5b87193f8 (diff)
downloadgdb-10db66ecfd20b6af9528af63ffd1c632ef8556c6.zip
gdb-10db66ecfd20b6af9528af63ffd1c632ef8556c6.tar.gz
gdb-10db66ecfd20b6af9528af63ffd1c632ef8556c6.tar.bz2
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.
Diffstat (limited to 'gas/.Sanitize')
-rw-r--r--gas/.Sanitize21
1 files changed, 21 insertions, 0 deletions
diff --git a/gas/.Sanitize b/gas/.Sanitize
index d778c5c..99ce127 100644
--- a/gas/.Sanitize
+++ b/gas/.Sanitize
@@ -101,5 +101,26 @@ 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.