OSDN Git Service

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