1 2007-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4 * inclhack.def (hpux11_pthread_const): New.
5 * fixincl.x: Regenerate.
6 * tests/base/sys/pthread.h: Update.
8 2007-10-12 Kai Tietz <kai.tietz@onevision.com>
10 * configure.ac: x86_64 mingw target uses twoprocess.
11 * mkfixinc.sh: Add x86_64 mingw target.
12 * configure: Regenerate.
14 2007-10-09 Geoffrey Keating <geoffk@apple.com>
16 * inclhack.def (darwin_externc): New.
17 * fixincl.x: Regenerate.
18 * tests/base/mach-o/swap.h: New.
20 2007-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22 * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
24 * tests/base/iso/math_c99.h: Delete associated test baselines.
25 * fixincl.x: Regenerate.
27 2007-07-24 Krister Walfridsson <cato@df.lth.se>
30 * inclhack.def (netbsd_c99_inline_2): New.
31 * fixincl.x: Regenerate.
32 * tests/base/signal.h: Update.
34 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
38 * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
39 solaris_math_7): Constify and make FP exception-safe.
40 * tests/base/iso/math_c99.h: Update.
42 * fixincl.x: Regenerate.
44 2007-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
47 * inclhack.def (irix_stdint_c99): New fix.
48 * fixincl.x: Regenerate.
49 * tests/base/stdint.h: New test.
51 2007-06-06 Steve Ellcey <sje@cup.hp.com>
54 * inclhack.def (hppa_hpux_fp_macros): New.
55 * fixincl.x: Regenerate.
56 * tests/base/math.h: Update.
58 2007-03-26 Jakub Jelinek <jakub@redhat.com>
60 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
61 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
62 __STDC_VERSION__ < 199901L.
63 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
64 with #ifdef __GNUC_GNU_INLINE__.
65 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
66 with defined(__GNUC_STDC_INLINE__).
67 (glibc_c99_inline_4): Change select, add second c_fix_arg.
68 Replace #if __STDC_VERSION__ < 199901L with
69 #ifdef __GNUC_GNU_INLINE__.
70 * fixincl.x: Regenerated.
71 * tests/base/bits/string2.h: Update.
72 * tests/base/sys/sysmacros.h: Update.
73 * tests/base/sys/stat.h: Update.
75 2007-03-18 Krister Walfridsson <cato@df.lth.se>
78 * inclhack.def (netbsd_c99_inline_1): New.
79 * fixincl.x: Regenerate.
80 * tests/base/signal.h: New.
82 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
84 * Makefile.in: Add dummy "install-info" target.
86 2007-03-06 Joseph Myers <joseph@codesourcery.com>
88 * mkheaders.in: Fix headers for each multilib required.
90 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
92 * Makefile.in: Add dummy install-pdf target.
94 2007-02-27 Joseph Myers <joseph@codesourcery.com>
96 * mkheaders.in (incdir): Use include-fixed not include.
98 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
100 * Makefile.in: Added "pdf" target to .PHONY.
102 2007-02-05 Richard Guenther <rguenther@suse.de>
104 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
105 with older glibc. Adjust version number for C99.
106 * fixincl.x: Regenerated.
108 2007-02-04 Mike Stump <mrs@apple.com>
110 * mkheaders.in: Allow optional isysroot parameter.
112 2007-02-03 Bruce Korb <bkorb@gnu.org>
114 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
115 surrounded by space characters.
117 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
120 * inclhack.def(broken_cabs): Also remove definition of cabsl.
121 * fixincl.x: Regenerate.
122 * tests/base/math.h: Update.
124 2007-01-05 Bruce Korb <bkorb@gnu.org>,
125 Daniel Franke <franke.daniel@gmail.com>
128 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
129 of a vertical bar ("|").
130 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
131 matching. Set SKIP_TEST flag if we are not to run a test.
132 * fixincl.x: Regenerate.
133 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
134 kandr_concat, sco_math): Replace lists of specfic file names by search
137 2006-12-12 Olivier Hainque <hainque@adacore.com>
139 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
140 targets for which a no-op fixer is appropriate.
142 2006-11-07 Richard Guenther <rguenther@suse.de>
144 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
146 * fixincl.x: Regenerate.
148 2006-11-02 Geoffrey Keating <geoffk@apple.com>
150 * inclhack.def (glibc_c99_inline_1): New.
151 * inclhack.def (glibc_c99_inline_2): New.
152 * inclhack.def (glibc_c99_inline_3): New.
153 * inclhack.def (glibc_c99_inline_4): New.
154 * fixincl.x: Regenerate.
155 * tests/base/bits/string2.h: New.
156 * tests/base/sys/sysmacros.h: New.
157 * tests/base/sys/stat.h: Update.
159 2006-11-01 Steve Ellcey <sje@cup.hp.com>
161 * tests/base/sys/socket.h: Update.
163 2006-10-31 Steve Ellcey <sje@cup.hp.com>
165 * inclhack.def (hpux11_extern_sendfile): New.
166 (hpux11_extern_sendpath): New.
167 * fixincl.x: Regenerate.
169 2006-10-29 Joseph Myers <joseph@codesourcery.com>
171 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
172 * fixincl.x: Regenerate.
174 2006-10-10 Brooks Moses <bmoses@stanford.edu>
176 * Makefile.in: Added empty "pdf" target.
178 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
181 * inclhack.def (hpux_pthread_initializers): New hack.
182 * tests/base/sys/pthread.h: New file.
184 * fixincl.x: Regenerate.
186 2006-10-03 Uros Bizjak <uros@kss-loka.si>
188 * inclhack.def (glibc_mutex_init): Also fix
189 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
190 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
191 * tests/base/pthread.h: Update.
193 * fixincl.x: Regenerate.
195 2006-10-01 Uros Bizjak <uros@kss-loka.si>
197 * inclhack.def (glibc_mutex_init): New fix.
198 * tests/base/pthread.h: Update.
200 * fixincl.x: Regenerate.
202 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
204 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
205 Prevent it from running on solaris10 or later.
206 (solaris_once_init_2): Fix comment.
207 * tests/base/pthread.h: Update.
209 * fixincl.x: Regenerate.
211 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
213 * inclhack.def (solaris_once_init_2): New fix.
214 * tests/base/pthread.h: Update.
216 * fixincl.x: Regenerate.
218 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
220 * inclhack.def (solaris_mutex_init_2): Remove test for
221 PTHREAD_RWLOCK_INITIALIZER.
222 (solaris_rwlock_init_1): New.
223 * tests/base/pthread.h: Update.
225 * inclhack.def (solaris_once_init_1): New.
226 * tests/base/pthread.h: Adjust for new fix.
228 * fixincl.x: Regenerate.
230 2006-07-17 Roger Sayle <roger@eyesopen.com>
232 * tests/base/errno.h: New file.
233 * tests/base/architecture/ppc/math.h: Likewise.
234 * tests/base/ia64/sys/getppdp.h: Likewise.
236 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
239 * Makefile.in (configure, config.h.in): Change into $(srcdir)
240 before autoconf or autoheader call.
242 2006-06-23 Steve Ellcey <sje@cup.hp.com>
245 * inclhack.def (hpux_extern_errno): New.
246 * fixincl.x: Regenerate.
248 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
250 * Makefile.in: Add dvi info html and install-html to .PHONY
251 Add install-html target.
253 2006-05-16 Mike Stump <mrs@apple.com>
255 * configure.ac: Add -Wno-overlength-strings.
256 * configure: Regenerate.
258 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
262 2006-02-18 Steve Ellcey <sje@cup.hp.com>
265 * inclhack.def (hpux_spu_info): New.
266 * fixincl.x: Regenerate
268 2006-01-31 Marcin Dalecki <martin@dalecki.de>
270 * configure.ac: Check for asprintf, basename, vasprintf.
271 * config.h.in: Regenerate.
272 * configure: Regenerate.
274 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
277 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
280 * fixincl.x: Regenerate.
282 2005-11-24 Bruce Korb <bkorb@gnu.org>
284 * fixincl.c (write_replacement): "here strings" in AutoGen
285 often/generally don't have a terminating newline. Check the
288 2005-11-13 Andreas Jaeger <aj@suse.de>
290 * check.tpl: Handle CVS additionally.
292 2005-11-05 Andreas Jaeger <aj@suse.de>
294 * check.tpl: Adopt for move to subversion.
296 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
299 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
301 * fixincl.x: Regenerate.
302 * tests/base/bits/huge_val.h: New file.
304 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
306 * All files: Update with new FSF address.
308 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
310 * Makefile.in (WARN_CFLAGS): New.
311 (.c.o): Add $(WARN_CFLAGS).
312 * aclocal.m4: Include ../config/warnings.m4.
313 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
314 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
315 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
316 * fixopts.c (initialize_opts): Fix old-style definintion.
318 * configure: Regenerate.
320 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
322 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
323 (AAB_darwin7_9_long_double_funcs_2): New.
324 * fixincl.x: Regenerate.
326 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
329 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
330 Use double quotes in select so \t matches tabs.
332 * fixincl.x: Regenerate.
333 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
335 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
338 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
340 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
341 Joseph S. Myers <joseph@codesourcery.com>
345 * inclhack.def: New fixes solaris_math_[1-9].
346 * fixincl.x: Regenerate.
347 * tests/base/iso/math_c99.h: New.
349 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
351 * aclocal.m4: Remove superfluous reference to accross.m4.
353 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
355 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
356 * server.c (load_data): Likewise.
357 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
358 * fixincl.c: #include <sys/wait.h>
359 (run_compiles): Use XCNEWVEC instead of xcalloc.
360 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
361 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
363 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
365 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
366 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
367 * fixincl.x: Regenerate.
369 2005-05-06 Bruce Korb <bkorb@gnu.org>
370 Joseph S. Myers <joseph@codesourcery.com>
372 * fixinc/inclhack.def: Correct backslashes
373 * fixinc/fixincl.x: regen
375 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
377 * system.h (fopen, fdopen, freopen): Define these to the unlocked
380 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
382 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
383 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
384 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
385 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
387 (fwrite_unlocked): Fix prototype.
389 * configure, config.h.in: Regenerate.
391 2005-03-21 Zack Weinberg <zack@codesourcery.com>
393 * Makefile.in: Set gcc_version directly, not via substitution.
394 (libsubdir): Use $(gcc_version), not $(version).
395 (mkheaders.almost): New rule.
396 (mkheaders): Generate from mkheaders.almost.
397 (clean): Also delete mkheaders.almost.
398 * aclocal.m4: Do not include ../config/gcc-version.m4.
399 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
400 mkheaders.almost from mkheaders.in.
401 * configure: Regenerate.
403 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
406 * inclhack.def: Add fix for array of incomplete structures
407 in function prototype in pthread.h.
408 * fixincl.x: Regenerate.
409 * tests/base/pthread.h: Adjust.
411 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
413 * inclhack.def (hpux_htonl): New fix.
414 * tests/base/netinet/in.h: New test.
415 * fixincl.x: Regenerate.
417 2005-02-23 James E Wilson <wilson@specifixinc.com>
419 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
421 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
424 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
427 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
429 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
430 * aclocal.m4: Include ../config/gcc-version.m4.
431 * configure: Regenerate.
433 2004-11-26 Mark Mitchell <mark@codesourcery.com>
435 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
436 (stdio_va_list): Likewise.
437 (stdio_stdarg.h): Likewise.
438 (solaris_stdio_tag): Add bypass.
439 * fixincl.x: Regenerated.
441 2004-11-23 Geoffrey Keating <geoffk@apple.com>
443 * mkfixinc.sh: Check error code from 'cat'. Don't try running
444 built fixincl program.
445 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
448 2004-11-20 Roger Sayle <roger@eyesopen.com>
450 * inclhack.def (alpha_pthread_init): Fix technical problems with
451 the last check-in caused by CVS variable substitution.
452 * fixincl.x: Likewise.
453 * tests/base/pthread.h: Likewise.
455 2004-11-20 Roger Sayle <roger@eyesopen.com>
456 Bruce Korb <bkorb@gnu.org>
458 * inclhack.def (alpha_pthread_init): New fix.
459 * fixincl.x: Regenerate.
460 * tests/base/pthread.h: Update for new test.
462 2004-11-15 Bruce Korb <bkorb@gnu.org>
464 * fixincl.c(fix_with_system): correct misuse of variables and
465 incorrect application of "sizeof()".
467 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
469 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
470 svr4__p, undefine_null): Remove.
471 * fixincl.x: Regenerate.
472 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
473 * tests/base/sys/param.h: Remove.
474 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
475 tests/base/sys/limits.h: Update.
477 2004-11-12 Mike Stump <mrs@apple.com>
479 * Makefile.in (html): Add html generation support.
481 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
483 * inclhack.def (sco_math): Bypass on __GNUG__.
484 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
485 * fixincl.x: Regenerate.
487 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
489 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
490 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
492 (sun_auth_proto): Bypass on __cplusplus.
493 * fixincl.x: Regenerate.
495 2004-11-05 Geoffrey Keating <geoffk@apple.com>
497 * Makefile.in (mostlyclean): Add fixinc.sh.
498 (clean): Add mkheaders.
504 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
506 * Makefile.in (mostlyclean, distclean): New targets.
508 2004-11-04 Geoffrey Keating <geoffk@apple.com>
510 * configure.ac: Add code to determine noncanonical_target,
511 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
512 * configure: Regenerate.
513 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
514 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
515 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
516 update for changes to fixinc.in.
517 * Makefile.in: Add many new macros.
518 (install): New target.
519 (mkheaders): New target.
520 (fixinc.sh): New target.
521 (all): Add mkheaders and fixinc.sh.
522 * README-fixinc: Move here from gcc/.
524 2004-11-01 Mike Stump <mrs@apple.com>
526 * inclhack.def (stdio_va_list): Break out clients from here...
527 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
528 included or ifdef va_start.
529 * fixincl.x: Regenerate.
531 2004-10-28 Mike Stump <mrs@apple.com>
533 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
535 * fixincl.x: Regenerate.
537 2004-10-27 Geoffrey Keating <geoffk@apple.com>
539 * inclhack.def (darwin_gcc4_breakage): New.
540 * fixincl.x: Regenerate.
542 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
546 * fixfixes.c (main): Check for _PC_NAME_MAX.
548 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
552 * configure.ac: Fix typo.
553 * configure: Regenerate.
554 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
556 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
560 * fixincl.c (SIGCHLD): Remove definition.
561 (initialize): Remove SIGIOT and SIGPIPE checks.
562 (create_file): Fix mkdir() for Win32.
563 (internal_fix): Use dup2() instead of fcntl().
565 * fixlib.h (SIGQUIT): Define if undefined.
571 * procopen.c (chain_open): Use dup2() instead of fcntl().
573 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
577 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
578 Update copyright year.
579 * fixfixes.c (main): Call initialize_opts from fixopts.c.
580 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
581 do not include code for parsing options (environment vars).
582 (fix_with_system): Use a search path for applyfix, so that you
583 can run the test suite with two-process fixincludes.
584 * fixopts.c: New file.
585 * configure.ac: Add --enable-twoprocess. Export ac_exeext
586 to config.h. Default to --enable-twoprocess for MinGW32.
587 * config.h.in: Regenerate.
588 * configure: Regenerate.
590 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
592 * tests/base/sys/cdefs.h: Update from test area.
594 2004-09-17 Roger Sayle <roger@eyesopen.com>
596 * inclhack.def (linux_ia64_ucontext): New fix.
597 * fixincl.x: Regenerate.
598 * tests/base/sys/ucontext.h: New file.
600 2004-09-15 Roger Sayle <roger@eyesopen.com>
602 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
603 * tests/base/stdlib.h: Likewise.
605 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
607 * inclhack.def (freebsd_gcc4_breakage): Add.
608 * fixincl.x: Regenerate.
609 * tests/base/sys/cdefs.h: Update for new test.
611 2004-09-10 Adam Nemet <anemet@lnxw.com>
613 * inclhack.def (lynx_void_int): Remove.
614 (lynxos_fcntl_proto): Remove.
615 (lynxos_no_warning_in_sys_time_h): New fix.
616 (lynxos_missing_putenv): New fix.
617 * fixincl.x: Regenerate.
618 * tests/base/fcntl.h: Remove.
619 * tests/base/sys/time.h: Update from test area.
620 * tests/base/curses.h: Likewise.
621 * tests/base/stdlib.h: Likewise.
623 2004-09-03 Jan Beulich <jbeulich@novell.com>
625 * inclhack.def: Suppress exception_structure and math_exception
627 * fixincl.x: Regenerate.
629 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
632 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
635 * config.h.in: Generate.
636 * configure: Generate.
638 * fixlib.h: Remove inclusions of gcc files.
641 Other files copied from gcc/fixinc.