* gennltvals.sh: Redo syscall support to allow sanitization.
[deliverable/binutils-gdb.git] / sim / common / .Sanitize
CommitLineData
3994972d 1# .Sanitize for devo/sim/common.
7bf1bbbc 2
3994972d 3# Each directory to survive its way into a release will need a file
7bf1bbbc
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
3994972d 14# done in this directory.
7bf1bbbc
SC
15
16Do-first:
17
18# All files listed between the "Things-to-keep:" line and the
19# "Files-to-sed:" line will be kept. All other files will be removed.
20# Directories listed in this section will have their own Sanitize
21# called. Directories not listed will be removed in their entirety
22# with rm -rf.
23
24Things-to-keep:
25
f025d903 26ChangeLog
db7d7ff8
DE
27Make-common.in
28Makefile.in
29aclocal.m4
30callback.c
f7abc1ca
DE
31cgen-mem.h
32cgen-ops.h
b9c8cd10
DE
33cgen-scache.c
34cgen-scache.h
b9c8cd10
DE
35cgen-sim.h
36cgen-trace.c
37cgen-trace.h
38cgen-types.h
39cgen-utils.c
db7d7ff8
DE
40config.in
41configure.in
42configure
88d5f8e8 43gdbinit.in
b9c8cd10 44genmloop.sh
f7abc1ca 45gennltvals.sh
db7d7ff8
DE
46gentmap.c
47gentvals.sh
48nltvals.def
c95d08a8 49nrun.c
7bf1bbbc
SC
50run.c
51run.1
ba237406 52sim-abort.c
332cb5d9 53sim-alu.h
ba237406 54sim-assert.h
e77fd269 55sim-base.h
d0d80f48 56sim-basics.h
332cb5d9
AC
57sim-bits.c
58sim-bits.h
b9d580a4
SG
59sim-break.c
60sim-break.h
710f55ce 61sim-config.c
d0d80f48 62sim-config.h
a1dc3945
AC
63sim-core.c
64sim-core.h
332cb5d9
AC
65sim-endian.c
66sim-endian.h
ba237406
AC
67sim-engine.c
68sim-engine.h
a1dc3945
AC
69sim-events.c
70sim-events.h
710f55ce
DE
71sim-fpu.c
72sim-fpu.h
fafce69a 73sim-hload.c
6dbaff8f 74sim-hrw.c
d0d80f48 75sim-inline.c
332cb5d9 76sim-inline.h
a1dc3945
AC
77sim-io.c
78sim-io.h
3b609fd5 79sim-load.c
a34abff8
AC
80sim-memopt.c
81sim-memopt.h
b9c8cd10 82sim-model.c
b320601b
DE
83sim-model.h
84sim-module.c
85sim-module.h
f5c7064a
AC
86sim-n-bits.h
87sim-n-core.h
88sim-n-endian.h
4ede3a83
DE
89sim-options.c
90sim-options.h
b320601b
DE
91sim-profile.c
92sim-profile.h
ba237406
AC
93sim-reason.c
94sim-resume.c
95sim-run.c
1ebc7e0e
DE
96sim-signal.c
97sim-signal.h
ba237406 98sim-stop.c
e9b2f579 99sim-trace.c
3b609fd5 100sim-trace.h
a1dc3945 101sim-types.h
e77fd269 102sim-utils.c
f4749781 103sim-utils.h
5697f152
DE
104sim-watch.c
105sim-watch.h
603ece73 106sim-xcat.h
f7abc1ca 107syscall.c
db7d7ff8 108tconfig.in
7bf1bbbc
SC
109
110Things-to-lose:
111
112
113Do-last:
114
1294727e
DE
115d30v_files="ChangeLog gennltvals.sh nltvals.def"
116if ( echo $* | grep keep\-d30v > /dev/null ) ; then
117 for i in $d30v_files ; do
118 if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
119 if [ -n "${verbose}" ] ; then
120 echo Keeping d30v stuff in $i
121 fi
122 fi
123 done
124else
125 for i in $d30v_files ; do
126 if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
127 if [ -n "${verbose}" ] ; then
128 echo Removing traces of \"d30v\" from $i...
129 fi
130 cp $i new
131 sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/d' < $i > new
132 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
133 if [ -n "${verbose}" ] ; then
134 echo Caching $i in .Recover...
135 fi
136 mv $i .Recover
137 fi
138 mv new $i
139 fi
140 done
141fi
142
7bf1bbbc 143# End of file.
This page took 0.095545 seconds and 4 git commands to generate.