1 2008-01-06 Hans-Peter Nilsson <hp@axis.com>
5 2007-12-18 Hans-Peter Nilsson <hp@axis.com>
7 * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
8 * fixincl.x: Regenerate.
9 * tests/base/wchar.h: Update.
10 * tests/base/features.h: New.
12 2007-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
15 * inclhack.def (hpux11_pthread_const): New.
16 * fixincl.x: Regenerate.
17 * tests/base/sys/pthread.h: Update.
19 2007-10-12 Kai Tietz <kai.tietz@onevision.com>
21 * configure.ac: x86_64 mingw target uses twoprocess.
22 * mkfixinc.sh: Add x86_64 mingw target.
23 * configure: Regenerate.
25 2007-10-09 Geoffrey Keating <geoffk@apple.com>
27 * inclhack.def (darwin_externc): New.
28 * fixincl.x: Regenerate.
29 * tests/base/mach-o/swap.h: New.
31 2007-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
33 * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
35 * tests/base/iso/math_c99.h: Delete associated test baselines.
36 * fixincl.x: Regenerate.
38 2007-07-24 Krister Walfridsson <cato@df.lth.se>
41 * inclhack.def (netbsd_c99_inline_2): New.
42 * fixincl.x: Regenerate.
43 * tests/base/signal.h: Update.
45 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
49 * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
50 solaris_math_7): Constify and make FP exception-safe.
51 * tests/base/iso/math_c99.h: Update.
53 * fixincl.x: Regenerate.
55 2007-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
58 * inclhack.def (irix_stdint_c99): New fix.
59 * fixincl.x: Regenerate.
60 * tests/base/stdint.h: New test.
62 2007-06-06 Steve Ellcey <sje@cup.hp.com>
65 * inclhack.def (hppa_hpux_fp_macros): New.
66 * fixincl.x: Regenerate.
67 * tests/base/math.h: Update.
69 2007-03-26 Jakub Jelinek <jakub@redhat.com>
71 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
72 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
73 __STDC_VERSION__ < 199901L.
74 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
75 with #ifdef __GNUC_GNU_INLINE__.
76 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
77 with defined(__GNUC_STDC_INLINE__).
78 (glibc_c99_inline_4): Change select, add second c_fix_arg.
79 Replace #if __STDC_VERSION__ < 199901L with
80 #ifdef __GNUC_GNU_INLINE__.
81 * fixincl.x: Regenerated.
82 * tests/base/bits/string2.h: Update.
83 * tests/base/sys/sysmacros.h: Update.
84 * tests/base/sys/stat.h: Update.
86 2007-03-18 Krister Walfridsson <cato@df.lth.se>
89 * inclhack.def (netbsd_c99_inline_1): New.
90 * fixincl.x: Regenerate.
91 * tests/base/signal.h: New.
93 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
95 * Makefile.in: Add dummy "install-info" target.
97 2007-03-06 Joseph Myers <joseph@codesourcery.com>
99 * mkheaders.in: Fix headers for each multilib required.
101 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
103 * Makefile.in: Add dummy install-pdf target.
105 2007-02-27 Joseph Myers <joseph@codesourcery.com>
107 * mkheaders.in (incdir): Use include-fixed not include.
109 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
111 * Makefile.in: Added "pdf" target to .PHONY.
113 2007-02-05 Richard Guenther <rguenther@suse.de>
115 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
116 with older glibc. Adjust version number for C99.
117 * fixincl.x: Regenerated.
119 2007-02-04 Mike Stump <mrs@apple.com>
121 * mkheaders.in: Allow optional isysroot parameter.
123 2007-02-03 Bruce Korb <bkorb@gnu.org>
125 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
126 surrounded by space characters.
128 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
131 * inclhack.def(broken_cabs): Also remove definition of cabsl.
132 * fixincl.x: Regenerate.
133 * tests/base/math.h: Update.
135 2007-01-05 Bruce Korb <bkorb@gnu.org>,
136 Daniel Franke <franke.daniel@gmail.com>
139 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
140 of a vertical bar ("|").
141 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
142 matching. Set SKIP_TEST flag if we are not to run a test.
143 * fixincl.x: Regenerate.
144 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
145 kandr_concat, sco_math): Replace lists of specfic file names by search
148 2006-12-12 Olivier Hainque <hainque@adacore.com>
150 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
151 targets for which a no-op fixer is appropriate.
153 2006-11-07 Richard Guenther <rguenther@suse.de>
155 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
157 * fixincl.x: Regenerate.
159 2006-11-02 Geoffrey Keating <geoffk@apple.com>
161 * inclhack.def (glibc_c99_inline_1): New.
162 * inclhack.def (glibc_c99_inline_2): New.
163 * inclhack.def (glibc_c99_inline_3): New.
164 * inclhack.def (glibc_c99_inline_4): New.
165 * fixincl.x: Regenerate.
166 * tests/base/bits/string2.h: New.
167 * tests/base/sys/sysmacros.h: New.
168 * tests/base/sys/stat.h: Update.
170 2006-11-01 Steve Ellcey <sje@cup.hp.com>
172 * tests/base/sys/socket.h: Update.
174 2006-10-31 Steve Ellcey <sje@cup.hp.com>
176 * inclhack.def (hpux11_extern_sendfile): New.
177 (hpux11_extern_sendpath): New.
178 * fixincl.x: Regenerate.
180 2006-10-29 Joseph Myers <joseph@codesourcery.com>
182 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
183 * fixincl.x: Regenerate.
185 2006-10-10 Brooks Moses <bmoses@stanford.edu>
187 * Makefile.in: Added empty "pdf" target.
189 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
192 * inclhack.def (hpux_pthread_initializers): New hack.
193 * tests/base/sys/pthread.h: New file.
195 * fixincl.x: Regenerate.
197 2006-10-03 Uros Bizjak <uros@kss-loka.si>
199 * inclhack.def (glibc_mutex_init): Also fix
200 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
201 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
202 * tests/base/pthread.h: Update.
204 * fixincl.x: Regenerate.
206 2006-10-01 Uros Bizjak <uros@kss-loka.si>
208 * inclhack.def (glibc_mutex_init): New fix.
209 * tests/base/pthread.h: Update.
211 * fixincl.x: Regenerate.
213 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
215 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
216 Prevent it from running on solaris10 or later.
217 (solaris_once_init_2): Fix comment.
218 * tests/base/pthread.h: Update.
220 * fixincl.x: Regenerate.
222 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
224 * inclhack.def (solaris_once_init_2): New fix.
225 * tests/base/pthread.h: Update.
227 * fixincl.x: Regenerate.
229 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
231 * inclhack.def (solaris_mutex_init_2): Remove test for
232 PTHREAD_RWLOCK_INITIALIZER.
233 (solaris_rwlock_init_1): New.
234 * tests/base/pthread.h: Update.
236 * inclhack.def (solaris_once_init_1): New.
237 * tests/base/pthread.h: Adjust for new fix.
239 * fixincl.x: Regenerate.
241 2006-07-17 Roger Sayle <roger@eyesopen.com>
243 * tests/base/errno.h: New file.
244 * tests/base/architecture/ppc/math.h: Likewise.
245 * tests/base/ia64/sys/getppdp.h: Likewise.
247 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
250 * Makefile.in (configure, config.h.in): Change into $(srcdir)
251 before autoconf or autoheader call.
253 2006-06-23 Steve Ellcey <sje@cup.hp.com>
256 * inclhack.def (hpux_extern_errno): New.
257 * fixincl.x: Regenerate.
259 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
261 * Makefile.in: Add dvi info html and install-html to .PHONY
262 Add install-html target.
264 2006-05-16 Mike Stump <mrs@apple.com>
266 * configure.ac: Add -Wno-overlength-strings.
267 * configure: Regenerate.
269 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
273 2006-02-18 Steve Ellcey <sje@cup.hp.com>
276 * inclhack.def (hpux_spu_info): New.
277 * fixincl.x: Regenerate
279 2006-01-31 Marcin Dalecki <martin@dalecki.de>
281 * configure.ac: Check for asprintf, basename, vasprintf.
282 * config.h.in: Regenerate.
283 * configure: Regenerate.
285 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
288 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
291 * fixincl.x: Regenerate.
293 2005-11-24 Bruce Korb <bkorb@gnu.org>
295 * fixincl.c (write_replacement): "here strings" in AutoGen
296 often/generally don't have a terminating newline. Check the
299 2005-11-13 Andreas Jaeger <aj@suse.de>
301 * check.tpl: Handle CVS additionally.
303 2005-11-05 Andreas Jaeger <aj@suse.de>
305 * check.tpl: Adopt for move to subversion.
307 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
310 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
312 * fixincl.x: Regenerate.
313 * tests/base/bits/huge_val.h: New file.
315 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
317 * All files: Update with new FSF address.
319 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
321 * Makefile.in (WARN_CFLAGS): New.
322 (.c.o): Add $(WARN_CFLAGS).
323 * aclocal.m4: Include ../config/warnings.m4.
324 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
325 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
326 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
327 * fixopts.c (initialize_opts): Fix old-style definintion.
329 * configure: Regenerate.
331 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
333 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
334 (AAB_darwin7_9_long_double_funcs_2): New.
335 * fixincl.x: Regenerate.
337 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
340 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
341 Use double quotes in select so \t matches tabs.
343 * fixincl.x: Regenerate.
344 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
346 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
349 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
351 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
352 Joseph S. Myers <joseph@codesourcery.com>
356 * inclhack.def: New fixes solaris_math_[1-9].
357 * fixincl.x: Regenerate.
358 * tests/base/iso/math_c99.h: New.
360 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
362 * aclocal.m4: Remove superfluous reference to accross.m4.
364 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
366 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
367 * server.c (load_data): Likewise.
368 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
369 * fixincl.c: #include <sys/wait.h>
370 (run_compiles): Use XCNEWVEC instead of xcalloc.
371 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
372 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
374 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
376 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
377 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
378 * fixincl.x: Regenerate.
380 2005-05-06 Bruce Korb <bkorb@gnu.org>
381 Joseph S. Myers <joseph@codesourcery.com>
383 * fixinc/inclhack.def: Correct backslashes
384 * fixinc/fixincl.x: regen
386 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
388 * system.h (fopen, fdopen, freopen): Define these to the unlocked
391 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
393 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
394 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
395 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
396 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
398 (fwrite_unlocked): Fix prototype.
400 * configure, config.h.in: Regenerate.
402 2005-03-21 Zack Weinberg <zack@codesourcery.com>
404 * Makefile.in: Set gcc_version directly, not via substitution.
405 (libsubdir): Use $(gcc_version), not $(version).
406 (mkheaders.almost): New rule.
407 (mkheaders): Generate from mkheaders.almost.
408 (clean): Also delete mkheaders.almost.
409 * aclocal.m4: Do not include ../config/gcc-version.m4.
410 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
411 mkheaders.almost from mkheaders.in.
412 * configure: Regenerate.
414 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
417 * inclhack.def: Add fix for array of incomplete structures
418 in function prototype in pthread.h.
419 * fixincl.x: Regenerate.
420 * tests/base/pthread.h: Adjust.
422 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
424 * inclhack.def (hpux_htonl): New fix.
425 * tests/base/netinet/in.h: New test.
426 * fixincl.x: Regenerate.
428 2005-02-23 James E Wilson <wilson@specifixinc.com>
430 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
432 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
435 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
438 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
440 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
441 * aclocal.m4: Include ../config/gcc-version.m4.
442 * configure: Regenerate.
444 2004-11-26 Mark Mitchell <mark@codesourcery.com>
446 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
447 (stdio_va_list): Likewise.
448 (stdio_stdarg.h): Likewise.
449 (solaris_stdio_tag): Add bypass.
450 * fixincl.x: Regenerated.
452 2004-11-23 Geoffrey Keating <geoffk@apple.com>
454 * mkfixinc.sh: Check error code from 'cat'. Don't try running
455 built fixincl program.
456 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
459 2004-11-20 Roger Sayle <roger@eyesopen.com>
461 * inclhack.def (alpha_pthread_init): Fix technical problems with
462 the last check-in caused by CVS variable substitution.
463 * fixincl.x: Likewise.
464 * tests/base/pthread.h: Likewise.
466 2004-11-20 Roger Sayle <roger@eyesopen.com>
467 Bruce Korb <bkorb@gnu.org>
469 * inclhack.def (alpha_pthread_init): New fix.
470 * fixincl.x: Regenerate.
471 * tests/base/pthread.h: Update for new test.
473 2004-11-15 Bruce Korb <bkorb@gnu.org>
475 * fixincl.c(fix_with_system): correct misuse of variables and
476 incorrect application of "sizeof()".
478 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
480 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
481 svr4__p, undefine_null): Remove.
482 * fixincl.x: Regenerate.
483 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
484 * tests/base/sys/param.h: Remove.
485 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
486 tests/base/sys/limits.h: Update.
488 2004-11-12 Mike Stump <mrs@apple.com>
490 * Makefile.in (html): Add html generation support.
492 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
494 * inclhack.def (sco_math): Bypass on __GNUG__.
495 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
496 * fixincl.x: Regenerate.
498 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
500 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
501 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
503 (sun_auth_proto): Bypass on __cplusplus.
504 * fixincl.x: Regenerate.
506 2004-11-05 Geoffrey Keating <geoffk@apple.com>
508 * Makefile.in (mostlyclean): Add fixinc.sh.
509 (clean): Add mkheaders.
515 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
517 * Makefile.in (mostlyclean, distclean): New targets.
519 2004-11-04 Geoffrey Keating <geoffk@apple.com>
521 * configure.ac: Add code to determine noncanonical_target,
522 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
523 * configure: Regenerate.
524 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
525 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
526 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
527 update for changes to fixinc.in.
528 * Makefile.in: Add many new macros.
529 (install): New target.
530 (mkheaders): New target.
531 (fixinc.sh): New target.
532 (all): Add mkheaders and fixinc.sh.
533 * README-fixinc: Move here from gcc/.
535 2004-11-01 Mike Stump <mrs@apple.com>
537 * inclhack.def (stdio_va_list): Break out clients from here...
538 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
539 included or ifdef va_start.
540 * fixincl.x: Regenerate.
542 2004-10-28 Mike Stump <mrs@apple.com>
544 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
546 * fixincl.x: Regenerate.
548 2004-10-27 Geoffrey Keating <geoffk@apple.com>
550 * inclhack.def (darwin_gcc4_breakage): New.
551 * fixincl.x: Regenerate.
553 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
557 * fixfixes.c (main): Check for _PC_NAME_MAX.
559 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
563 * configure.ac: Fix typo.
564 * configure: Regenerate.
565 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
567 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
571 * fixincl.c (SIGCHLD): Remove definition.
572 (initialize): Remove SIGIOT and SIGPIPE checks.
573 (create_file): Fix mkdir() for Win32.
574 (internal_fix): Use dup2() instead of fcntl().
576 * fixlib.h (SIGQUIT): Define if undefined.
582 * procopen.c (chain_open): Use dup2() instead of fcntl().
584 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
588 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
589 Update copyright year.
590 * fixfixes.c (main): Call initialize_opts from fixopts.c.
591 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
592 do not include code for parsing options (environment vars).
593 (fix_with_system): Use a search path for applyfix, so that you
594 can run the test suite with two-process fixincludes.
595 * fixopts.c: New file.
596 * configure.ac: Add --enable-twoprocess. Export ac_exeext
597 to config.h. Default to --enable-twoprocess for MinGW32.
598 * config.h.in: Regenerate.
599 * configure: Regenerate.
601 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
603 * tests/base/sys/cdefs.h: Update from test area.
605 2004-09-17 Roger Sayle <roger@eyesopen.com>
607 * inclhack.def (linux_ia64_ucontext): New fix.
608 * fixincl.x: Regenerate.
609 * tests/base/sys/ucontext.h: New file.
611 2004-09-15 Roger Sayle <roger@eyesopen.com>
613 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
614 * tests/base/stdlib.h: Likewise.
616 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
618 * inclhack.def (freebsd_gcc4_breakage): Add.
619 * fixincl.x: Regenerate.
620 * tests/base/sys/cdefs.h: Update for new test.
622 2004-09-10 Adam Nemet <anemet@lnxw.com>
624 * inclhack.def (lynx_void_int): Remove.
625 (lynxos_fcntl_proto): Remove.
626 (lynxos_no_warning_in_sys_time_h): New fix.
627 (lynxos_missing_putenv): New fix.
628 * fixincl.x: Regenerate.
629 * tests/base/fcntl.h: Remove.
630 * tests/base/sys/time.h: Update from test area.
631 * tests/base/curses.h: Likewise.
632 * tests/base/stdlib.h: Likewise.
634 2004-09-03 Jan Beulich <jbeulich@novell.com>
636 * inclhack.def: Suppress exception_structure and math_exception
638 * fixincl.x: Regenerate.
640 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
643 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
646 * config.h.in: Generate.
647 * configure: Generate.
649 * fixlib.h: Remove inclusions of gcc files.
652 Other files copied from gcc/fixinc.