]> Git Repo - binutils.git/blame - opcodes/.Sanitize
* blockframe.c (find_pc_partial_function): Inhibit mst_trampoline
[binutils.git] / opcodes / .Sanitize
CommitLineData
67c2d8c8 1# .Sanitize for devo/opcodes.
a4ccc310 2
e7c4e61c 3# Each directory to survive its way into a release will need a file
a4ccc310
SC
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
10f1b597 14# done in this directory.
a4ccc310
SC
15
16Do-first:
17
10f1b597
SS
18mpw_files="mpw-make.in mpw-config.in ChangeLog.mpw"
19
e7c4e61c 20if ( echo $* | grep keep\-mpw > /dev/null ) ; then
10f1b597 21 keep_these_too="${mpw_files} ${keep_these_too}"
e4c7516b 22else
10f1b597 23 lose_these_too="${mpw_files} ${lose_these_too}"
e4c7516b
SS
24fi
25
a4ccc310
SC
26# All files listed between the "Things-to-keep:" line and the
27# "Files-to-sed:" line will be kept. All other files will be removed.
28# Directories listed in this section will have their own Sanitize
29# called. Directories not listed will be removed in their entirety
30# with rm -rf.
31
32Things-to-keep:
87756e15 33
a4ccc310 34ChangeLog
add1fb05 35Makefile.in
5f8f6d56
SC
36alpha-dis.c
37alpha-opc.h
ba08215a
KR
38arm-dis.c
39arm-opc.h
720b3aed 40a29k-dis.c
fc984fdb 41configure.bat
add1fb05 42configure.in
117733ad 43dis-buf.c
204c9148 44disassemble.c
3b4cc5ec 45h8300-dis.c
337110ea
SC
46h8500-dis.c
47h8500-opc.h
cfa8d061 48hppa-dis.c
c840244e 49i386-dis.c
720b3aed 50i960-dis.c
c840244e 51m68k-dis.c
a4c01299 52m88k-dis.c
bf1dd2fd 53mips-dis.c
69135a69 54mips-opc.c
2a097d73 55ns32k-dis.c
89221bd5
ILT
56ppc-dis.c
57ppc-opc.c
8679a71f
SC
58sh-opc.h
59sh-dis.c
117733ad 60sparc-dis.c
c3a1191a 61sparc-opc.c
add1fb05 62z8k-dis.c
a4ccc310 63z8k-opc.h
ea2598e4 64z8kgen.c
add1fb05 65
87756e15
RP
66Things-to-lose:
67
62ba1060
SC
68Do-last:
69
2a097d73
KR
70i960xl_files="ChangeLog i960-dis.c"
71if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
72 if [ -n "${verbose}" ] ; then
73 echo Keeping i960xl stuff in $i960xl_files.
74 fi
75else
76 if [ -n "${verbose}" ]; then
77 echo -n Cleaning i960xl in `pwd`:
78 fi
79 for f in $i960xl_files ; do
80 if [ -n "${verbose}" ] ; then
81 echo -n " " $f
82 fi
83 sed -e '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' -e '/ xl /d' < $f > new
84 if [ -n "${safe}" ] ; then
85 mv $f .Recover
86 fi
87 mv new $f
88 done
89fi
90
a4ccc310 91# End of file.
This page took 0.201648 seconds and 4 git commands to generate.