OSDN Git Service

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