1 2007-07-24 Krister Walfridsson <cato@df.lth.se>
4 * inclhack.def (netbsd_c99_inline_2): New.
5 * fixincl.x: Regenerate.
6 * tests/base/signal.h: Update.
8 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12 * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
13 solaris_math_7): Constify and make FP exception-safe.
14 * tests/base/iso/math_c99.h: Update.
16 * fixincl.x: Regenerate.
18 2007-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
21 * inclhack.def (irix_stdint_c99): New fix.
22 * fixincl.x: Regenerate.
23 * tests/base/stdint.h: New test.
25 2007-06-06 Steve Ellcey <sje@cup.hp.com>
28 * inclhack.def (hppa_hpux_fp_macros): New.
29 * fixincl.x: Regenerate.
30 * tests/base/math.h: Update.
32 2007-03-26 Jakub Jelinek <jakub@redhat.com>
34 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
35 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
36 __STDC_VERSION__ < 199901L.
37 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
38 with #ifdef __GNUC_GNU_INLINE__.
39 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
40 with defined(__GNUC_STDC_INLINE__).
41 (glibc_c99_inline_4): Change select, add second c_fix_arg.
42 Replace #if __STDC_VERSION__ < 199901L with
43 #ifdef __GNUC_GNU_INLINE__.
44 * fixincl.x: Regenerated.
45 * tests/base/bits/string2.h: Update.
46 * tests/base/sys/sysmacros.h: Update.
47 * tests/base/sys/stat.h: Update.
49 2007-03-18 Krister Walfridsson <cato@df.lth.se>
52 * inclhack.def (netbsd_c99_inline_1): New.
53 * fixincl.x: Regenerate.
54 * tests/base/signal.h: New.
56 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
58 * Makefile.in: Add dummy "install-info" target.
60 2007-03-06 Joseph Myers <joseph@codesourcery.com>
62 * mkheaders.in: Fix headers for each multilib required.
64 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
66 * Makefile.in: Add dummy install-pdf target.
68 2007-02-27 Joseph Myers <joseph@codesourcery.com>
70 * mkheaders.in (incdir): Use include-fixed not include.
72 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
74 * Makefile.in: Added "pdf" target to .PHONY.
76 2007-02-05 Richard Guenther <rguenther@suse.de>
78 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
79 with older glibc. Adjust version number for C99.
80 * fixincl.x: Regenerated.
82 2007-02-04 Mike Stump <mrs@apple.com>
84 * mkheaders.in: Allow optional isysroot parameter.
86 2007-02-03 Bruce Korb <bkorb@gnu.org>
88 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
89 surrounded by space characters.
91 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
94 * inclhack.def(broken_cabs): Also remove definition of cabsl.
95 * fixincl.x: Regenerate.
96 * tests/base/math.h: Update.
98 2007-01-05 Bruce Korb <bkorb@gnu.org>,
99 Daniel Franke <franke.daniel@gmail.com>
102 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
103 of a vertical bar ("|").
104 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
105 matching. Set SKIP_TEST flag if we are not to run a test.
106 * fixincl.x: Regenerate.
107 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
108 kandr_concat, sco_math): Replace lists of specfic file names by search
111 2006-12-12 Olivier Hainque <hainque@adacore.com>
113 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
114 targets for which a no-op fixer is appropriate.
116 2006-11-07 Richard Guenther <rguenther@suse.de>
118 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
120 * fixincl.x: Regenerate.
122 2006-11-02 Geoffrey Keating <geoffk@apple.com>
124 * inclhack.def (glibc_c99_inline_1): New.
125 * inclhack.def (glibc_c99_inline_2): New.
126 * inclhack.def (glibc_c99_inline_3): New.
127 * inclhack.def (glibc_c99_inline_4): New.
128 * fixincl.x: Regenerate.
129 * tests/base/bits/string2.h: New.
130 * tests/base/sys/sysmacros.h: New.
131 * tests/base/sys/stat.h: Update.
133 2006-11-01 Steve Ellcey <sje@cup.hp.com>
135 * tests/base/sys/socket.h: Update.
137 2006-10-31 Steve Ellcey <sje@cup.hp.com>
139 * inclhack.def (hpux11_extern_sendfile): New.
140 (hpux11_extern_sendpath): New.
141 * fixincl.x: Regenerate.
143 2006-10-29 Joseph Myers <joseph@codesourcery.com>
145 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
146 * fixincl.x: Regenerate.
148 2006-10-10 Brooks Moses <bmoses@stanford.edu>
150 * Makefile.in: Added empty "pdf" target.
152 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
155 * inclhack.def (hpux_pthread_initializers): New hack.
156 * tests/base/sys/pthread.h: New file.
158 * fixincl.x: Regenerate.
160 2006-10-03 Uros Bizjak <uros@kss-loka.si>
162 * inclhack.def (glibc_mutex_init): Also fix
163 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
164 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
165 * tests/base/pthread.h: Update.
167 * fixincl.x: Regenerate.
169 2006-10-01 Uros Bizjak <uros@kss-loka.si>
171 * inclhack.def (glibc_mutex_init): New fix.
172 * tests/base/pthread.h: Update.
174 * fixincl.x: Regenerate.
176 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
178 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
179 Prevent it from running on solaris10 or later.
180 (solaris_once_init_2): Fix comment.
181 * tests/base/pthread.h: Update.
183 * fixincl.x: Regenerate.
185 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
187 * inclhack.def (solaris_once_init_2): New fix.
188 * tests/base/pthread.h: Update.
190 * fixincl.x: Regenerate.
192 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
194 * inclhack.def (solaris_mutex_init_2): Remove test for
195 PTHREAD_RWLOCK_INITIALIZER.
196 (solaris_rwlock_init_1): New.
197 * tests/base/pthread.h: Update.
199 * inclhack.def (solaris_once_init_1): New.
200 * tests/base/pthread.h: Adjust for new fix.
202 * fixincl.x: Regenerate.
204 2006-07-17 Roger Sayle <roger@eyesopen.com>
206 * tests/base/errno.h: New file.
207 * tests/base/architecture/ppc/math.h: Likewise.
208 * tests/base/ia64/sys/getppdp.h: Likewise.
210 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
213 * Makefile.in (configure, config.h.in): Change into $(srcdir)
214 before autoconf or autoheader call.
216 2006-06-23 Steve Ellcey <sje@cup.hp.com>
219 * inclhack.def (hpux_extern_errno): New.
220 * fixincl.x: Regenerate.
222 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
224 * Makefile.in: Add dvi info html and install-html to .PHONY
225 Add install-html target.
227 2006-05-16 Mike Stump <mrs@apple.com>
229 * configure.ac: Add -Wno-overlength-strings.
230 * configure: Regenerate.
232 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
236 2006-02-18 Steve Ellcey <sje@cup.hp.com>
239 * inclhack.def (hpux_spu_info): New.
240 * fixincl.x: Regenerate
242 2006-01-31 Marcin Dalecki <martin@dalecki.de>
244 * configure.ac: Check for asprintf, basename, vasprintf.
245 * config.h.in: Regenerate.
246 * configure: Regenerate.
248 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
251 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
254 * fixincl.x: Regenerate.
256 2005-11-24 Bruce Korb <bkorb@gnu.org>
258 * fixincl.c (write_replacement): "here strings" in AutoGen
259 often/generally don't have a terminating newline. Check the
262 2005-11-13 Andreas Jaeger <aj@suse.de>
264 * check.tpl: Handle CVS additionally.
266 2005-11-05 Andreas Jaeger <aj@suse.de>
268 * check.tpl: Adopt for move to subversion.
270 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
273 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
275 * fixincl.x: Regenerate.
276 * tests/base/bits/huge_val.h: New file.
278 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
280 * All files: Update with new FSF address.
282 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
284 * Makefile.in (WARN_CFLAGS): New.
285 (.c.o): Add $(WARN_CFLAGS).
286 * aclocal.m4: Include ../config/warnings.m4.
287 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
288 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
289 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
290 * fixopts.c (initialize_opts): Fix old-style definintion.
292 * configure: Regenerate.
294 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
296 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
297 (AAB_darwin7_9_long_double_funcs_2): New.
298 * fixincl.x: Regenerate.
300 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
303 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
304 Use double quotes in select so \t matches tabs.
306 * fixincl.x: Regenerate.
307 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
309 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
312 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
314 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
315 Joseph S. Myers <joseph@codesourcery.com>
319 * inclhack.def: New fixes solaris_math_[1-9].
320 * fixincl.x: Regenerate.
321 * tests/base/iso/math_c99.h: New.
323 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
325 * aclocal.m4: Remove superfluous reference to accross.m4.
327 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
329 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
330 * server.c (load_data): Likewise.
331 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
332 * fixincl.c: #include <sys/wait.h>
333 (run_compiles): Use XCNEWVEC instead of xcalloc.
334 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
335 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
337 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
339 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
340 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
341 * fixincl.x: Regenerate.
343 2005-05-06 Bruce Korb <bkorb@gnu.org>
344 Joseph S. Myers <joseph@codesourcery.com>
346 * fixinc/inclhack.def: Correct backslashes
347 * fixinc/fixincl.x: regen
349 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
351 * system.h (fopen, fdopen, freopen): Define these to the unlocked
354 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
356 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
357 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
358 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
359 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
361 (fwrite_unlocked): Fix prototype.
363 * configure, config.h.in: Regenerate.
365 2005-03-21 Zack Weinberg <zack@codesourcery.com>
367 * Makefile.in: Set gcc_version directly, not via substitution.
368 (libsubdir): Use $(gcc_version), not $(version).
369 (mkheaders.almost): New rule.
370 (mkheaders): Generate from mkheaders.almost.
371 (clean): Also delete mkheaders.almost.
372 * aclocal.m4: Do not include ../config/gcc-version.m4.
373 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
374 mkheaders.almost from mkheaders.in.
375 * configure: Regenerate.
377 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
380 * inclhack.def: Add fix for array of incomplete structures
381 in function prototype in pthread.h.
382 * fixincl.x: Regenerate.
383 * tests/base/pthread.h: Adjust.
385 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
387 * inclhack.def (hpux_htonl): New fix.
388 * tests/base/netinet/in.h: New test.
389 * fixincl.x: Regenerate.
391 2005-02-23 James E Wilson <wilson@specifixinc.com>
393 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
395 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
398 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
401 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
403 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
404 * aclocal.m4: Include ../config/gcc-version.m4.
405 * configure: Regenerate.
407 2004-11-26 Mark Mitchell <mark@codesourcery.com>
409 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
410 (stdio_va_list): Likewise.
411 (stdio_stdarg.h): Likewise.
412 (solaris_stdio_tag): Add bypass.
413 * fixincl.x: Regenerated.
415 2004-11-23 Geoffrey Keating <geoffk@apple.com>
417 * mkfixinc.sh: Check error code from 'cat'. Don't try running
418 built fixincl program.
419 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
422 2004-11-20 Roger Sayle <roger@eyesopen.com>
424 * inclhack.def (alpha_pthread_init): Fix technical problems with
425 the last check-in caused by CVS variable substitution.
426 * fixincl.x: Likewise.
427 * tests/base/pthread.h: Likewise.
429 2004-11-20 Roger Sayle <roger@eyesopen.com>
430 Bruce Korb <bkorb@gnu.org>
432 * inclhack.def (alpha_pthread_init): New fix.
433 * fixincl.x: Regenerate.
434 * tests/base/pthread.h: Update for new test.
436 2004-11-15 Bruce Korb <bkorb@gnu.org>
438 * fixincl.c(fix_with_system): correct misuse of variables and
439 incorrect application of "sizeof()".
441 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
443 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
444 svr4__p, undefine_null): Remove.
445 * fixincl.x: Regenerate.
446 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
447 * tests/base/sys/param.h: Remove.
448 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
449 tests/base/sys/limits.h: Update.
451 2004-11-12 Mike Stump <mrs@apple.com>
453 * Makefile.in (html): Add html generation support.
455 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
457 * inclhack.def (sco_math): Bypass on __GNUG__.
458 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
459 * fixincl.x: Regenerate.
461 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
463 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
464 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
466 (sun_auth_proto): Bypass on __cplusplus.
467 * fixincl.x: Regenerate.
469 2004-11-05 Geoffrey Keating <geoffk@apple.com>
471 * Makefile.in (mostlyclean): Add fixinc.sh.
472 (clean): Add mkheaders.
478 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
480 * Makefile.in (mostlyclean, distclean): New targets.
482 2004-11-04 Geoffrey Keating <geoffk@apple.com>
484 * configure.ac: Add code to determine noncanonical_target,
485 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
486 * configure: Regenerate.
487 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
488 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
489 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
490 update for changes to fixinc.in.
491 * Makefile.in: Add many new macros.
492 (install): New target.
493 (mkheaders): New target.
494 (fixinc.sh): New target.
495 (all): Add mkheaders and fixinc.sh.
496 * README-fixinc: Move here from gcc/.
498 2004-11-01 Mike Stump <mrs@apple.com>
500 * inclhack.def (stdio_va_list): Break out clients from here...
501 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
502 included or ifdef va_start.
503 * fixincl.x: Regenerate.
505 2004-10-28 Mike Stump <mrs@apple.com>
507 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
509 * fixincl.x: Regenerate.
511 2004-10-27 Geoffrey Keating <geoffk@apple.com>
513 * inclhack.def (darwin_gcc4_breakage): New.
514 * fixincl.x: Regenerate.
516 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
520 * fixfixes.c (main): Check for _PC_NAME_MAX.
522 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
526 * configure.ac: Fix typo.
527 * configure: Regenerate.
528 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
530 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
534 * fixincl.c (SIGCHLD): Remove definition.
535 (initialize): Remove SIGIOT and SIGPIPE checks.
536 (create_file): Fix mkdir() for Win32.
537 (internal_fix): Use dup2() instead of fcntl().
539 * fixlib.h (SIGQUIT): Define if undefined.
545 * procopen.c (chain_open): Use dup2() instead of fcntl().
547 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
551 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
552 Update copyright year.
553 * fixfixes.c (main): Call initialize_opts from fixopts.c.
554 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
555 do not include code for parsing options (environment vars).
556 (fix_with_system): Use a search path for applyfix, so that you
557 can run the test suite with two-process fixincludes.
558 * fixopts.c: New file.
559 * configure.ac: Add --enable-twoprocess. Export ac_exeext
560 to config.h. Default to --enable-twoprocess for MinGW32.
561 * config.h.in: Regenerate.
562 * configure: Regenerate.
564 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
566 * tests/base/sys/cdefs.h: Update from test area.
568 2004-09-17 Roger Sayle <roger@eyesopen.com>
570 * inclhack.def (linux_ia64_ucontext): New fix.
571 * fixincl.x: Regenerate.
572 * tests/base/sys/ucontext.h: New file.
574 2004-09-15 Roger Sayle <roger@eyesopen.com>
576 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
577 * tests/base/stdlib.h: Likewise.
579 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
581 * inclhack.def (freebsd_gcc4_breakage): Add.
582 * fixincl.x: Regenerate.
583 * tests/base/sys/cdefs.h: Update for new test.
585 2004-09-10 Adam Nemet <anemet@lnxw.com>
587 * inclhack.def (lynx_void_int): Remove.
588 (lynxos_fcntl_proto): Remove.
589 (lynxos_no_warning_in_sys_time_h): New fix.
590 (lynxos_missing_putenv): New fix.
591 * fixincl.x: Regenerate.
592 * tests/base/fcntl.h: Remove.
593 * tests/base/sys/time.h: Update from test area.
594 * tests/base/curses.h: Likewise.
595 * tests/base/stdlib.h: Likewise.
597 2004-09-03 Jan Beulich <jbeulich@novell.com>
599 * inclhack.def: Suppress exception_structure and math_exception
601 * fixincl.x: Regenerate.
603 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
606 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
609 * config.h.in: Generate.
610 * configure: Generate.
612 * fixlib.h: Remove inclusions of gcc files.
615 Other files copied from gcc/fixinc.