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