* config/tc-h8300.c (do_a_fix_imm): Don't cut off high bits
[deliverable/binutils-gdb.git] / ld / .Sanitize
CommitLineData
764eb349 1# .Sanitize for devo/ld.
86e4d6e4 2
747a47f2 3# Each directory to survive its way into a release will need a file
86e4d6e4
RP
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
747a47f2 14# done in this directory.
86e4d6e4
RP
15
16Do-first:
17
86e4d6e4
RP
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:
87756e15 25
5784123f 26ChangeLog
86e4d6e4 27Makefile.in
bc3b479c 28NEWS
c3d97ef6 29README
fbd74d07 30TODO
d66c832b
ILT
31acconfig.h
32aclocal.m4
ef346f1a 33config.in
d66c832b 34configure
65aa3724 35configure.bat
d66c832b 36configure.host
86e4d6e4 37configure.in
d66c832b 38configure.tgt
f8083739 39dep-in.sed
2b63dbfe
DM
40emulparams
41emultempl
c3d97ef6 42genscripts.sh
2412a768 43h8-doc.texi
40ab8532 44ld.1
2412a768 45gen-doc.texi
5f1fec76
SC
46ld.h
47ld.texinfo
ffa057ee 48ldctor.c
1cc27b5e 49ldctor.h
c3d97ef6
PB
50ldemul.c
51ldemul.h
5f1fec76
SC
52ldexp.c
53ldexp.h
54ldfile.c
5f1fec76 55ldfile.h
5f1fec76 56ldgram.y
4b91c519 57ldint.texinfo
5f1fec76
SC
58ldlang.c
59ldlang.h
60ldlex.h
61ldlex.l
5f1fec76
SC
62ldmain.c
63ldmain.h
64ldmisc.c
65ldmisc.h
5f1fec76
SC
66ldver.c
67ldver.h
5f1fec76
SC
68ldwrite.c
69ldwrite.h
0cc6a796 70lexsup.c
aacc02d7 71mac-ld.r
36ae618c
SS
72mpw-config.in
73mpw-emipsidt.c
aaa877b7 74mpw-eppcmac.c
aad90580 75mpw-esh.c
aacc02d7 76mpw-make.sed
b11a9b28 77mri.c
a586b5bc 78mri.h
2b63dbfe 79scripttempl
d66c832b 80sysdep.h
e2f9f0f6 81testsuite
86e4d6e4 82
87756e15
RP
83Things-to-lose:
84
86e4d6e4
RP
85Do-last:
86
d66c832b 87rce_files="configure.in configure.tgt Makefile.in"
5fa60968 88
ff030c98
MT
89if ( echo $* | grep keep\-rce > /dev/null ) ; then
90 for i in $rce_files ; do
91 if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
5fa60968 92 if [ -n "${verbose}" ] ; then
ff030c98 93 echo Keeping rce stuff in $i
5fa60968
MT
94 fi
95 fi
96 done
97else
ff030c98
MT
98 for i in $rce_files ; do
99 if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
5fa60968 100 if [ -n "${verbose}" ] ; then
ff030c98 101 echo Removing traces of \"rce\" from $i...
5fa60968
MT
102 fi
103 cp $i new
ff030c98 104 sed '/start\-sanitize\-rce/,/end-\sanitize\-rce/d' < $i > new
5fa60968
MT
105 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
106 if [ -n "${verbose}" ] ; then
107 echo Caching $i in .Recover...
108 fi
109 mv $i .Recover
110 fi
111 mv new $i
112 fi
113 done
114fi
115
d66c832b 116arc_files="ChangeLog configure.in configure.tgt Makefile.in"
d0bfd8ec 117
d0bfd8ec
KR
118if ( echo $* | grep keep\-arc > /dev/null ) ; then
119 for i in $arc_files ; do
120 if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
121 if [ -n "${verbose}" ] ; then
122 echo Keeping arc stuff in $i
123 fi
124 fi
125 done
126else
127 for i in $arc_files ; do
128 if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
129 if [ -n "${verbose}" ] ; then
130 echo Removing traces of \"arc\" from $i...
131 fi
132 cp $i new
133 sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/d' < $i > new
134 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
135 if [ -n "${verbose}" ] ; then
136 echo Caching $i in .Recover...
137 fi
138 mv $i .Recover
139 fi
140 mv new $i
141 fi
142 done
143fi
144
5fa60968
MT
145for i in * ; do
146 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
147 echo '***' Some mentions of Sanitize are still left in $i! 1>&2
148 fi
149done
150
151#
86e4d6e4 152# End of file.
This page took 0.163343 seconds and 4 git commands to generate.