OSDN Git Service

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