OSDN Git Service

ede9e0b8be5636b19568201b47d6e85787fabac2
[pf3gnuchains/gcc-fork.git] / fixincludes / ChangeLog
1 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
2
3         PR target/15642
4         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
5         __APPLE_CC_ as 1345.
6         (broken_nan): New.
7         * fixincl.x: Regenerate.
8
9 2005-11-24  Bruce Korb  <bkorb@gnu.org>
10
11         * fixincl.c(write_replacement) "here strings" in AutoGen often/generally
12         don't have a terminating newline.  Check the last byte for '\n'.
13
14 2005-11-13  Andreas Jaeger  <aj@suse.de>
15
16         * check.tpl: Handle CVS additionally.
17
18 2005-11-05  Andreas Jaeger  <aj@suse.de>
19
20         * check.tpl: Adopt for move to subversion.
21
22 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
23
24         PR c++/23139
25         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
26         fixes.
27         * fixincl.x: Regenerate.
28         * tests/base/bits/huge_val.h: New file.
29
30 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
31
32         * All files: Update with new FSF address.
33
34 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
35
36         * Makefile.in (WARN_CFLAGS): New.
37         (.c.o): Add $(WARN_CFLAGS).
38         * aclocal.m4: Include ../config/warnings.m4.
39         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
40         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
41         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
42         * fixopts.c (initialize_opts): Fix old-style definintion.
43
44         * configure: Regenerate.
45
46 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
47
48         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
49         (AAB_darwin7_9_long_double_funcs_2): New.
50         * fixincl.x: Regenerate.
51
52 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
53
54         PR libfortran/15266
55         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
56         Use double quotes in select so \t matches tabs.
57         Add IRIX testcase.
58         * fixincl.x: Regenerate.
59         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
60
61 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
62
63         PR target/21683
64         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
65
66 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
67             Joseph S. Myers  <joseph@codesourcery.com>
68
69         PR target/19933
70         PR target/21315
71         * inclhack.def: New fixes solaris_math_[1-9].
72         * fixincl.x: Regenerate.
73         * tests/base/iso/math_c99.h: New.
74
75 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
76
77         * aclocal.m4: Remove superfluous reference to accross.m4.
78
79 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
80
81         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
82         * server.c (load_data): Likewise.
83         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
84         * fixincl.c: #include <sys/wait.h>
85         (run_compiles): Use XCNEWVEC instead of xcalloc.
86         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
87         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
88
89 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
90
91         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
92         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
93         * fixincl.x: Regenerate.
94
95 2005-05-06  Bruce Korb  <bkorb@gnu.org>
96         Joseph S. Myers <joseph@codesourcery.com>
97
98         * fixinc/inclhack.def: Correct backslashes
99         * fixinc/fixincl.x: regen
100
101 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
102
103         * system.h (fopen, fdopen, freopen): Define these to the unlocked
104         libiberty functions.
105
106 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
107
108         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
109         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
110         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
111         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
112         _unlocked function.
113         (fwrite_unlocked): Fix prototype.
114
115         * configure, config.h.in: Regenerate.
116
117 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
118
119         * Makefile.in: Set gcc_version directly, not via substitution.
120         (libsubdir): Use $(gcc_version), not $(version).
121         (mkheaders.almost): New rule.
122         (mkheaders): Generate from mkheaders.almost.
123         (clean): Also delete mkheaders.almost.
124         * aclocal.m4: Do not include ../config/gcc-version.m4.
125         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
126         mkheaders.almost from mkheaders.in.
127         * configure: Regenerate.
128
129 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
130
131         PR target/20166
132         * inclhack.def: Add fix for array of incomplete structures
133         in function prototype in pthread.h.
134         * fixincl.x: Regenerate.
135         * tests/base/pthread.h: Adjust.
136
137 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
138
139         * inclhack.def (hpux_htonl): New fix.
140         * tests/base/netinet/in.h: New test.
141         * fixincl.x: Regenerate.
142
143 2005-02-23  James E Wilson  <wilson@specifixinc.com>
144
145         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
146
147 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
148
149         PR 18458
150         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
151         fixincl.
152
153 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
154
155         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
156         * aclocal.m4: Include ../config/gcc-version.m4.
157         * configure: Regenerate.
158
159 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
160
161         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
162         (stdio_va_list): Likewise.
163         (stdio_stdarg.h): Likewise.
164         (solaris_stdio_tag): Add bypass.
165         * fixincl.x: Regenerated.
166
167 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
168
169         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
170         built fixincl program.
171         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
172         up csh from user.
173
174 2004-11-20  Roger Sayle  <roger@eyesopen.com>
175
176         * inclhack.def (alpha_pthread_init): Fix technical problems with
177         the last check-in caused by CVS variable substitution.
178         * fixincl.x: Likewise.
179         * tests/base/pthread.h: Likewise.
180
181 2004-11-20  Roger Sayle  <roger@eyesopen.com>
182             Bruce Korb  <bkorb@gnu.org>
183
184         * inclhack.def (alpha_pthread_init): New fix.
185         * fixincl.x: Regenerate.
186         * tests/base/pthread.h: Update for new test.
187
188 2004-11-15  Bruce Korb  <bkorb@gnu.org>
189
190         * fixincl.c(fix_with_system): correct misuse of variables and
191         incorrect application of "sizeof()".
192
193 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
194
195         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
196         svr4__p, undefine_null): Remove.
197         * fixincl.x: Regenerate.
198         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
199         * tests/base/sys/param.h: Remove.
200         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
201         tests/base/sys/limits.h: Update.
202
203 2004-11-12  Mike Stump  <mrs@apple.com>
204
205         * Makefile.in (html): Add html generation support.
206
207 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
208
209         * inclhack.def (sco_math): Bypass on __GNUG__.
210         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
211         * fixincl.x: Regenerate.
212
213 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
214
215         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
216         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
217         _CLASSIC_ANSI_TYPES.
218         (sun_auth_proto): Bypass on __cplusplus.
219         * fixincl.x: Regenerate.
220
221 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
222
223         * Makefile.in (mostlyclean): Add fixinc.sh.
224         (clean): Add mkheaders.
225         (distclean): New.
226         (dvi): New.
227         (info): New.
228         (installcheck): New.
229
230 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
231
232         * Makefile.in (mostlyclean, distclean): New targets.
233
234 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
235
236         * configure.ac: Add code to determine noncanonical_target,
237         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
238         * configure: Regenerate.
239         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
240         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
241         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
242         update for changes to fixinc.in.
243         * Makefile.in: Add many new macros.
244         (install): New target.
245         (mkheaders): New target.
246         (fixinc.sh): New target.
247         (all): Add mkheaders and fixinc.sh.
248         * README-fixinc: Move here from gcc/.
249
250 2004-11-01  Mike Stump  <mrs@apple.com>
251
252         * inclhack.def (stdio_va_list): Break out clients from here...
253         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
254         included or ifdef va_start.
255         * fixincl.x: Regenerate.
256
257 2004-10-28  Mike Stump  <mrs@apple.com>
258
259         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
260         systems.
261         * fixincl.x: Regenerate.
262
263 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
264
265         * inclhack.def (darwin_gcc4_breakage): New.
266         * fixincl.x: Regenerate.
267
268 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
269
270         PR bootstrap/17832
271
272         * fixfixes.c (main): Check for _PC_NAME_MAX.
273
274 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
275
276         PR other/17991
277
278         * configure.ac: Fix typo.
279         * configure: Regenerate.
280         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
281
282 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
283
284         PR bootstrap/17832
285
286         * fixincl.c (SIGCHLD): Remove definition.
287         (initialize): Remove SIGIOT and SIGPIPE checks.
288         (create_file): Fix mkdir() for Win32.
289         (internal_fix): Use dup2() instead of fcntl().
290
291         * fixlib.h (SIGQUIT): Define if undefined.
292         (SIGIOT): Same.
293         (SIGPIPE): Same.
294         (SIGALRM): Same.
295         (SIGKILL): Same.
296
297         * procopen.c (chain_open): Use dup2() instead of fcntl().
298
299 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
300
301         PR other/17991
302
303         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
304         Update copyright year.
305         * fixfixes.c (main): Call initialize_opts from fixopts.c.
306         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
307         do not include code for parsing options (environment vars).
308         (fix_with_system): Use a search path for applyfix, so that you
309         can run the test suite with two-process fixincludes.
310         * fixopts.c: New file.
311         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
312         to config.h.  Default to --enable-twoprocess for MinGW32.
313         * config.h.in: Regenerate.
314         * configure: Regenerate.
315
316 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
317
318         * tests/base/sys/cdefs.h: Update from test area.
319
320 2004-09-17  Roger Sayle  <roger@eyesopen.com>
321
322         * inclhack.def (linux_ia64_ucontext): New fix.
323         * fixincl.x: Regenerate.
324         * tests/base/sys/ucontext.h: New file.
325
326 2004-09-15  Roger Sayle  <roger@eyesopen.com>
327
328         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
329         * tests/base/stdlib.h: Likewise.
330
331 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
332
333         * inclhack.def (freebsd_gcc4_breakage): Add.
334         * fixincl.x: Regenerate.
335         * tests/base/sys/cdefs.h: Update for new test.
336
337 2004-09-10  Adam Nemet  <anemet@lnxw.com>
338
339         * inclhack.def (lynx_void_int): Remove.
340         (lynxos_fcntl_proto): Remove.
341         (lynxos_no_warning_in_sys_time_h): New fix.
342         (lynxos_missing_putenv): New fix.
343         * fixincl.x: Regenerate.
344         * tests/base/fcntl.h: Remove.
345         * tests/base/sys/time.h: Update from test area.
346         * tests/base/curses.h: Likewise.
347         * tests/base/stdlib.h: Likewise.
348
349 2004-09-03  Jan Beulich  <jbeulich@novell.com>
350
351         * inclhack.def: Suppress exception_structure and math_exception
352         for NetWare headers.
353         * fixincl.x: Regenerate.
354
355 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
356
357         * .cvsignore: New.
358         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
359         autoconfiscated.
360         * configure.ac: New.
361         * config.h.in: Generate.
362         * configure: Generate.
363         * aclocal.m4: New.
364         * fixlib.h: Remove inclusions of gcc files.
365         * system.h: New.
366
367         Other files copied from gcc/fixinc.