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