clean v9 from obj-elf.h
[deliverable/binutils-gdb.git] / gas / config / .Sanitize
1 # Sanitize.in for devo.
2 # $Id$
3 #
4
5 # Each directory to survive it's way into a release will need a file
6 # like this one called "./.Sanitize". All keyword lines must exist,
7 # and must exist in the order specified by this file. Each directory
8 # in the tree will be processed, top down, in the following order.
9
10 # Hash started lines like this one are comments and will be deleted
11 # before anything else is done. Blank lines will also be squashed
12 # out.
13
14 # The lines between the "Do-first:" line and the "Things-to-keep:"
15 # line are executed as a /bin/sh shell script before anything else is
16 # done in this
17
18 Do-first:
19
20
21
22 # All files listed between the "Things-to-keep:" line and the
23 # "Files-to-sed:" line will be kept. All other files will be removed.
24 # Directories listed in this section will have their own Sanitize
25 # called. Directories not listed will be removed in their entirety
26 # with rm -rf.
27
28 Things-to-keep:
29
30 aout_gnu.h
31 atof-ieee.c
32 atof-ns32k.c
33 atof-tahoe.c
34 atof-vax.c
35 coff_gnu.h
36 cplus-dem.c
37 ebmon29k.mt
38 h8300.mt
39 h8500.mt
40 h8300hds.mt
41 ho-ansi.h
42 ho-decstatn.h
43 ho-generic.h
44 ho-go32.h
45 ho-hppabsd.h
46 ho-hpux.h
47 ho-i386.h
48 ho-i386aix.h
49 ho-irix.h
50 ho-mipsbsd.h
51 ho-rs6000.h
52 ho-sun3.h
53 ho-sun386.h
54 ho-sun4.h
55 ho-sunos.h
56 ho-sysv.h
57 ho-vax.h
58 ho-vms.h
59 i386coff.mt
60 m68k.mt
61 m68kcoff.mt
62 m88k-opcode.h
63 m88k.patches
64 mips-big.mt
65 mips-lit.mt
66 mips-opcode.h
67 obj-aout.c
68 obj-aout.h
69 obj-bout.c
70 obj-bout.h
71 obj-coff.c
72 obj-coff.h
73 obj-coffbfd.c
74 obj-coffbfd.h
75 obj-ecoff.c
76 obj-ecoff.h
77 obj-elf.c
78 obj-elf.h
79 obj-generic.c
80 obj-generic.h
81 obj-hp300.c
82 obj-hp300.h
83 obj-ieee.c
84 obj-ieee.h
85 obj-vms.c
86 obj-vms.h
87 sh.mt
88 sparc.mt
89 tc-a29k.c
90 tc-a29k.h
91 tc-generic.c
92 tc-generic.h
93 tc-h8300.c
94 tc-h8300.h
95 tc-h8500.c
96 tc-h8500.h
97 tc-hppa.c
98 tc-hppa.h
99 tc-i386.c
100 tc-i386.h
101 tc-i860.c
102 tc-i860.h
103 tc-i960.c
104 tc-i960.h
105 tc-m68851.h
106 tc-m68k.c
107 tc-m68k.h
108 tc-m88k.c
109 tc-m88k.h
110 tc-mips.c
111 tc-mips.h
112 tc-ns32k.c
113 tc-ns32k.h
114 tc-sh.c
115 tc-sh.h
116 tc-sparc.c
117 tc-sparc.h
118 tc-sparc64.c
119 tc-sparc64.h
120 tc-tahoe.c
121 tc-tahoe.h
122 tc-vax.c
123 tc-vax.h
124 tc-z8k.c
125 tc-z8k.h
126 te-386bsd.h
127 te-dpx2.h
128 te-generic.h
129 te-hp300.h
130 te-hppa.h
131 te-i386aix.h
132 te-ic960.h
133 te-irix.h
134 te-linux.h
135 te-sco386.h
136 te-sun3.h
137 te-sysv32.h
138 vax-inst.h
139 z8k.mt
140
141 Things-to-lose:
142
143
144
145 Do-last:
146
147 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
148 echo Keeping tc-sparc64 and v9 stuff in tc-sparc.c obj-elf.h.
149 else
150 echo Cleaning tc-sparc.c...
151 sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new
152 if [ -n "${safe}" ] ; then
153 cp tc-sparc.c .Recover
154 fi
155 mv new tc-sparc.c
156 echo Cleaning obj-elf.h...
157 grep -v v9 < obj-elf.h > new
158 if [ -n "${safe}" ] ; then
159 cp obj-elf.h .Recover
160 fi
161 mv new obj-elf.h
162 echo Deleting tc-sparc64 files.
163 rm -f tc-sparc64.c tc-sparc64.h
164 fi
165
166 # End of file.
This page took 0.0352 seconds and 5 git commands to generate.