* m10300-dis.c (print_insn_mn10300): 0xf7 opcode prefix specifies
[deliverable/binutils-gdb.git] / binutils / .Sanitize
1 # .Sanitize for devo/binutils
2
3 # Each directory to survive its way into a release will need a file
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
14 # done in this directory.
15
16 Do-first:
17
18
19 # All files listed between the "Things-to-keep:" line and the
20 # "Do-last:" line will be kept. All other files will be removed.
21 # Directories listed in this section will have their own Sanitize
22 # called. Directories not listed will be removed in their entirety
23 # with rm -rf.
24
25 Things-to-keep:
26
27 ChangeLog
28 Makefile.am
29 Makefile.in
30 NEWS
31 README
32 acconfig.h
33 acinclude.m4
34 aclocal.m4
35 addr2line.1
36 addr2line.c
37 ar.1
38 ar.c
39 arlex.l
40 arparse.y
41 arsup.c
42 arsup.h
43 binutils.texi
44 bucomm.c
45 bucomm.h
46 budbg.h
47 coffdump.c
48 coffgrok.c
49 coffgrok.h
50 config.in
51 configure
52 configure.bat
53 configure.com
54 configure.in
55 cxxfilt.man
56 debug.c
57 debug.h
58 deflex.l
59 defparse.y
60 dep-in.sed
61 dlltool.c
62 dlltool.h
63 filemode.c
64 ieee.c
65 is-ranlib.c
66 is-strip.c
67 mac-binutils.r
68 makefile.vms
69 maybe-ranlib.c
70 maybe-strip.c
71 mpw-config.in
72 mpw-make.sed
73 nlmconv.1
74 nlmconv.c
75 nlmconv.h
76 nlmheader.y
77 nm.1
78 nm.c
79 not-ranlib.c
80 not-strip.c
81 objcopy.1
82 objcopy.c
83 objdump.1
84 objdump.c
85 po
86 prdbg.c
87 ranlib.1
88 ranlib.sh
89 rclex.l
90 rcparse.y
91 rdcoff.c
92 rddbg.c
93 readelf.c
94 readelf.h
95 resbin.c
96 rescoff.c
97 resrc.c
98 sanity.sh
99 size.1
100 size.c
101 srconv.c
102 stabs.c
103 stamp-h.in
104 strings.1
105 strings.c
106 strip.1
107 sysdump.c
108 sysinfo.y
109 syslex.l
110 sysroff.info
111 testsuite
112 version.c
113 windres.c
114 windres.h
115 wrstabs.c
116
117 Things-to-lose:
118
119
120
121 # The lines between the "Do-last:" line and the end of the file
122 # are executed as a /bin/sh shell script after everything else is
123 # done.
124
125 Do-last:
126
127 v850e_files="readelf.c"
128 if ( echo $* | grep keep\-v850e > /dev/null ) ; then
129 for i in $v850e_files ; do
130 if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
131 if [ -n "${verbose}" ] ; then
132 echo Keeping v850e stuff in $i
133 fi
134 fi
135 done
136 else
137 for i in $v850e_files ; do
138 if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then
139 if [ -n "${verbose}" ] ; then
140 echo Removing traces of \"v850e\" from $i...
141 fi
142 cp $i new
143 sed '/start\-sanitize\-v850e/,/end\-sanitize\-v850e/d' < $i > new
144 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
145 if [ -n "${verbose}" ] ; then
146 echo Caching $i in .Recover...
147 fi
148 mv $i .Recover
149 fi
150 mv new $i
151 fi
152 done
153 fi
154
155 m32rx_files="readelf.c"
156 if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
157 for i in $m32rx_files ; do
158 if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
159 if [ -n "${verbose}" ] ; then
160 echo Keeping m32rx stuff in $i
161 fi
162 fi
163 done
164 else
165 for i in $m32rx_files ; do
166 if test -r $i && (grep sanitize-m32rx $i > /dev/null) ; then
167 if [ -n "${verbose}" ] ; then
168 echo Removing traces of \"m32rx\" from $i...
169 fi
170 cp $i new
171 sed '/start\-sanitize\-m32rx/,/end\-sanitize\-m32rx/d' < $i > new
172 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
173 if [ -n "${verbose}" ] ; then
174 echo Caching $i in .Recover...
175 fi
176 mv $i .Recover
177 fi
178 mv new $i
179 fi
180 done
181 fi
182
183 d30v_files="readelf.c"
184 if ( echo $* | grep keep\-d30v > /dev/null ) ; then
185 for i in $d30v_files ; do
186 if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
187 if [ -n "${verbose}" ] ; then
188 echo Keeping d30v stuff in $i
189 fi
190 fi
191 done
192 else
193 for i in $d30v_files ; do
194 if test -r $i && (grep sanitize-d30v $i > /dev/null) ; then
195 if [ -n "${verbose}" ] ; then
196 echo Removing traces of \"d30v\" from $i...
197 fi
198 cp $i new
199 sed '/start\-sanitize\-d30v/,/end\-sanitize\-d30v/d' < $i > new
200 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
201 if [ -n "${verbose}" ] ; then
202 echo Caching $i in .Recover...
203 fi
204 mv $i .Recover
205 fi
206 mv new $i
207 fi
208 done
209 fi
210
211 # This must come after all other sanitizations. Re-sanitize the .pot
212 # file.
213 if [ -n "${verbose}" ]; then
214 echo Re-computing files for gettext ...
215 fi
216
217 if [ -n "${safe}" -a ! -f po/.Recover/POTFILES.in ]; then
218 if [ -n "${verbose}" ]; then
219 echo Caching po/POTFILES.in in .Recover...
220 fi
221 mv po/POTFILES.in po/.Recover
222 fi
223 find . -name '*.[ch]' | sed -e 's,^\./,,' > po/POTFILES.in
224
225 if [ -n "${safe}" -a ! -f po/.Recover/binutils.pot ]; then
226 if [ -n "${verbose}" ]; then
227 echo Caching po/binutils.pot in .Recover...
228 fi
229 mv po/binutils.pot po/.Recover
230 fi
231 # If this fails, Sanitization must fail.
232 xgettext -c -k_ -kN_ -f po/POTFILES.in -o po/binutils.pot || exit 1
233
234 # eof
This page took 0.035086 seconds and 4 git commands to generate.