* config/mips/tm-mips.h (MAKE_MSYMBOL_SPECIAL): Force MIPS16
[deliverable/binutils-gdb.git] / gdb / config / mips / .Sanitize
CommitLineData
a6aa45a6
SS
1# .Sanitize for devo/gdb/config/mips.
2
3# Each directory to survive its way into a release will need a file
b0cb2d91
FF
4# like this one called "./.Sanitize". All keyword lines must exist,
5# and must exist in the order specified by this file. Each directory
6# in the tree will be processed, top down, in the following order.
7
8# Hash started lines like this one are comments and will be deleted
9# before anything else is done. Blank lines will also be squashed
10# out.
11
12# The lines between the "Do-first:" line and the "Things-to-keep:"
13# line are executed as a /bin/sh shell script before anything else is
a6aa45a6 14# done in this directory.
b0cb2d91
FF
15
16Do-first:
17
2a3b391b
MA
18tx19_files="tm-tx19.h tm-tx19l.h tx19.mt tx19l.mt"
19
20if ( echo $* | grep keep\-tx19 > /dev/null ) ; then
21 keep_these_too="${tx19_files} ${keep_these_too}"
22 if [ -n "${verbose}" ] ; then
23 echo Keeping ${tx19_files}
24 fi
25else
26 lose_these_too="${tx19_files} ${lose_these_too}"
27 if [ -n "${verbose}" ] ; then
28 echo Deleting ${tx19_files}
29 fi
30fi
31
91ee2779
JL
32if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
33 keep_these_too="tm-r5900.h r5900.mt ${keep_these_too}"
34else
35 lose_these_too="tm-r5900.h r5900.mt ${lose_these_too}"
36fi
37
b0cb2d91
FF
38# All files listed between the "Things-to-keep:" line and the
39# "Files-to-sed:" line will be kept. All other files will be removed.
40# Directories listed in this section will have their own Sanitize
41# called. Directories not listed will be removed in their entirety
42# with rm -rf.
43
44Things-to-keep:
45
b0cb2d91 46bigmips.mt
662f3b3f 47bigmips64.mt
b0cb2d91
FF
48decstation.mh
49decstation.mt
7bb5e831
RS
50embed.mt
51embed64.mt
52embedl.mt
53embedl64.mt
b0cb2d91
FF
54irix3.mh
55irix3.mt
56irix4.mh
a2f1e2e5
ILT
57irix5.mh
58irix5.mt
b0cb2d91
FF
59littlemips.mh
60littlemips.mt
662f3b3f 61mipsel64.mt
c2d751d5
JK
62mipsm3.mh
63mipsm3.mt
376f8f68
PS
64mipsv4.mh
65mipsv4.mt
89e04499 66news-mips.mh
b0cb2d91
FF
67nm-irix3.h
68nm-irix4.h
54b8b5c3 69nm-irix5.h
b0cb2d91 70nm-mips.h
89e04499 71nm-news-mips.h
7f6175b4
JK
72nm-riscos.h
73riscos.mh
b0cb2d91 74tm-bigmips.h
662f3b3f 75tm-bigmips64.h
7bb5e831
RS
76tm-embed.h
77tm-embed64.h
78tm-embedl.h
79tm-embedl64.h
b0cb2d91 80tm-irix3.h
a2f1e2e5 81tm-irix5.h
b0cb2d91 82tm-mips.h
662f3b3f 83tm-mips64.h
c2d751d5 84tm-mipsm3.h
376f8f68 85tm-mipsv4.h
00e40d11
MS
86tm-tx39.h
87tm-tx39l.h
180fd370
JSC
88tm-vr4300.h
89tm-vr4300el.h
4b8f6786
ILT
90tm-vr5000.h
91tm-vr5000el.h
d2d7e896 92tm-vxmips.h
9ffd1eab
MS
93tx39.mt
94tx39l.mt
180fd370 95vr4300.mt
a4bba3e6 96vr4300el.mt
4b8f6786
ILT
97vr5000.mt
98vr5000el.mt
d2d7e896 99vxmips.mt
b0cb2d91
FF
100xm-irix3.h
101xm-irix4.h
a2f1e2e5 102xm-irix5.h
b0cb2d91 103xm-mips.h
c2d751d5 104xm-mipsm3.h
376f8f68 105xm-mipsv4.h
89e04499 106xm-news-mips.h
7f6175b4 107xm-riscos.h
b0cb2d91 108
87756e15 109Things-to-lose:
9ffd1eab
MS
110r3900.mt
111r3900l.mt
112tm-r3900.h
113tm-r3900l.h
775d4a40 114
b0cb2d91
FF
115Do-last:
116
188c635f
SG
117if ( echo $* | grep keep\-gm > /dev/null ) ; then
118 for i in * ; do
119 if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
120 if [ -n "${verbose}" ] ; then
121 echo Keeping gm stuff in $i
122 fi
123 fi
124 done
125else
126 for i in * ; do
127 if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
128 if [ -n "${verbose}" ] ; then
129 echo Removing traces of \"gm\" from $i...
130 fi
131 cp $i new
132 sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/d' < $i > new
133 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
134 if [ -n "${verbose}" ] ; then
135 echo Caching $i in .Recover...
136 fi
137 mv $i .Recover
138 fi
139 mv new $i
140 fi
141 done
142fi
143
b0cb2d91 144# End of file.
This page took 0.234678 seconds and 4 git commands to generate.