1 2007-10-09 Geoffrey Keating <geoffk@apple.com>
3 * inclhack.def (darwin_externc): New.
4 * fixincl.x: Regenerate.
5 * tests/base/mach-o/swap.h: New.
7 2007-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9 * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
11 * tests/base/iso/math_c99.h: Delete associated test baselines.
12 * fixincl.x: Regenerate.
14 2007-07-24 Krister Walfridsson <cato@df.lth.se>
17 * inclhack.def (netbsd_c99_inline_2): New.
18 * fixincl.x: Regenerate.
19 * tests/base/signal.h: Update.
21 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25 * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
26 solaris_math_7): Constify and make FP exception-safe.
27 * tests/base/iso/math_c99.h: Update.
29 * fixincl.x: Regenerate.
31 2007-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
34 * inclhack.def (irix_stdint_c99): New fix.
35 * fixincl.x: Regenerate.
36 * tests/base/stdint.h: New test.
38 2007-06-06 Steve Ellcey <sje@cup.hp.com>
41 * inclhack.def (hppa_hpux_fp_macros): New.
42 * fixincl.x: Regenerate.
43 * tests/base/math.h: Update.
45 2007-03-26 Jakub Jelinek <jakub@redhat.com>
47 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
48 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
49 __STDC_VERSION__ < 199901L.
50 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
51 with #ifdef __GNUC_GNU_INLINE__.
52 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
53 with defined(__GNUC_STDC_INLINE__).
54 (glibc_c99_inline_4): Change select, add second c_fix_arg.
55 Replace #if __STDC_VERSION__ < 199901L with
56 #ifdef __GNUC_GNU_INLINE__.
57 * fixincl.x: Regenerated.
58 * tests/base/bits/string2.h: Update.
59 * tests/base/sys/sysmacros.h: Update.
60 * tests/base/sys/stat.h: Update.
62 2007-03-18 Krister Walfridsson <cato@df.lth.se>
65 * inclhack.def (netbsd_c99_inline_1): New.
66 * fixincl.x: Regenerate.
67 * tests/base/signal.h: New.
69 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
71 * Makefile.in: Add dummy "install-info" target.
73 2007-03-06 Joseph Myers <joseph@codesourcery.com>
75 * mkheaders.in: Fix headers for each multilib required.
77 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
79 * Makefile.in: Add dummy install-pdf target.
81 2007-02-27 Joseph Myers <joseph@codesourcery.com>
83 * mkheaders.in (incdir): Use include-fixed not include.
85 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
87 * Makefile.in: Added "pdf" target to .PHONY.
89 2007-02-05 Richard Guenther <rguenther@suse.de>
91 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
92 with older glibc. Adjust version number for C99.
93 * fixincl.x: Regenerated.
95 2007-02-04 Mike Stump <mrs@apple.com>
97 * mkheaders.in: Allow optional isysroot parameter.
99 2007-02-03 Bruce Korb <bkorb@gnu.org>
101 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
102 surrounded by space characters.
104 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
107 * inclhack.def(broken_cabs): Also remove definition of cabsl.
108 * fixincl.x: Regenerate.
109 * tests/base/math.h: Update.
111 2007-01-05 Bruce Korb <bkorb@gnu.org>,
112 Daniel Franke <franke.daniel@gmail.com>
115 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
116 of a vertical bar ("|").
117 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
118 matching. Set SKIP_TEST flag if we are not to run a test.
119 * fixincl.x: Regenerate.
120 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
121 kandr_concat, sco_math): Replace lists of specfic file names by search
124 2006-12-12 Olivier Hainque <hainque@adacore.com>
126 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
127 targets for which a no-op fixer is appropriate.
129 2006-11-07 Richard Guenther <rguenther@suse.de>
131 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
133 * fixincl.x: Regenerate.
135 2006-11-02 Geoffrey Keating <geoffk@apple.com>
137 * inclhack.def (glibc_c99_inline_1): New.
138 * inclhack.def (glibc_c99_inline_2): New.
139 * inclhack.def (glibc_c99_inline_3): New.
140 * inclhack.def (glibc_c99_inline_4): New.
141 * fixincl.x: Regenerate.
142 * tests/base/bits/string2.h: New.
143 * tests/base/sys/sysmacros.h: New.
144 * tests/base/sys/stat.h: Update.
146 2006-11-01 Steve Ellcey <sje@cup.hp.com>
148 * tests/base/sys/socket.h: Update.
150 2006-10-31 Steve Ellcey <sje@cup.hp.com>
152 * inclhack.def (hpux11_extern_sendfile): New.
153 (hpux11_extern_sendpath): New.
154 * fixincl.x: Regenerate.
156 2006-10-29 Joseph Myers <joseph@codesourcery.com>
158 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
159 * fixincl.x: Regenerate.
161 2006-10-10 Brooks Moses <bmoses@stanford.edu>
163 * Makefile.in: Added empty "pdf" target.
165 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
168 * inclhack.def (hpux_pthread_initializers): New hack.
169 * tests/base/sys/pthread.h: New file.
171 * fixincl.x: Regenerate.
173 2006-10-03 Uros Bizjak <uros@kss-loka.si>
175 * inclhack.def (glibc_mutex_init): Also fix
176 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
177 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
178 * tests/base/pthread.h: Update.
180 * fixincl.x: Regenerate.
182 2006-10-01 Uros Bizjak <uros@kss-loka.si>
184 * inclhack.def (glibc_mutex_init): New fix.
185 * tests/base/pthread.h: Update.
187 * fixincl.x: Regenerate.
189 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
191 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
192 Prevent it from running on solaris10 or later.
193 (solaris_once_init_2): Fix comment.
194 * tests/base/pthread.h: Update.
196 * fixincl.x: Regenerate.
198 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
200 * inclhack.def (solaris_once_init_2): New fix.
201 * tests/base/pthread.h: Update.
203 * fixincl.x: Regenerate.
205 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
207 * inclhack.def (solaris_mutex_init_2): Remove test for
208 PTHREAD_RWLOCK_INITIALIZER.
209 (solaris_rwlock_init_1): New.
210 * tests/base/pthread.h: Update.
212 * inclhack.def (solaris_once_init_1): New.
213 * tests/base/pthread.h: Adjust for new fix.
215 * fixincl.x: Regenerate.
217 2006-07-17 Roger Sayle <roger@eyesopen.com>
219 * tests/base/errno.h: New file.
220 * tests/base/architecture/ppc/math.h: Likewise.
221 * tests/base/ia64/sys/getppdp.h: Likewise.
223 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
226 * Makefile.in (configure, config.h.in): Change into $(srcdir)
227 before autoconf or autoheader call.
229 2006-06-23 Steve Ellcey <sje@cup.hp.com>
232 * inclhack.def (hpux_extern_errno): New.
233 * fixincl.x: Regenerate.
235 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
237 * Makefile.in: Add dvi info html and install-html to .PHONY
238 Add install-html target.
240 2006-05-16 Mike Stump <mrs@apple.com>
242 * configure.ac: Add -Wno-overlength-strings.
243 * configure: Regenerate.
245 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
249 2006-02-18 Steve Ellcey <sje@cup.hp.com>
252 * inclhack.def (hpux_spu_info): New.
253 * fixincl.x: Regenerate
255 2006-01-31 Marcin Dalecki <martin@dalecki.de>
257 * configure.ac: Check for asprintf, basename, vasprintf.
258 * config.h.in: Regenerate.
259 * configure: Regenerate.
261 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
264 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
267 * fixincl.x: Regenerate.
269 2005-11-24 Bruce Korb <bkorb@gnu.org>
271 * fixincl.c (write_replacement): "here strings" in AutoGen
272 often/generally don't have a terminating newline. Check the
275 2005-11-13 Andreas Jaeger <aj@suse.de>
277 * check.tpl: Handle CVS additionally.
279 2005-11-05 Andreas Jaeger <aj@suse.de>
281 * check.tpl: Adopt for move to subversion.
283 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
286 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
288 * fixincl.x: Regenerate.
289 * tests/base/bits/huge_val.h: New file.
291 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
293 * All files: Update with new FSF address.
295 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
297 * Makefile.in (WARN_CFLAGS): New.
298 (.c.o): Add $(WARN_CFLAGS).
299 * aclocal.m4: Include ../config/warnings.m4.
300 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
301 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
302 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
303 * fixopts.c (initialize_opts): Fix old-style definintion.
305 * configure: Regenerate.
307 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
309 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
310 (AAB_darwin7_9_long_double_funcs_2): New.
311 * fixincl.x: Regenerate.
313 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
316 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
317 Use double quotes in select so \t matches tabs.
319 * fixincl.x: Regenerate.
320 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
322 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
325 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
327 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
328 Joseph S. Myers <joseph@codesourcery.com>
332 * inclhack.def: New fixes solaris_math_[1-9].
333 * fixincl.x: Regenerate.
334 * tests/base/iso/math_c99.h: New.
336 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
338 * aclocal.m4: Remove superfluous reference to accross.m4.
340 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
342 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
343 * server.c (load_data): Likewise.
344 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
345 * fixincl.c: #include <sys/wait.h>
346 (run_compiles): Use XCNEWVEC instead of xcalloc.
347 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
348 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
350 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
352 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
353 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
354 * fixincl.x: Regenerate.
356 2005-05-06 Bruce Korb <bkorb@gnu.org>
357 Joseph S. Myers <joseph@codesourcery.com>
359 * fixinc/inclhack.def: Correct backslashes
360 * fixinc/fixincl.x: regen
362 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
364 * system.h (fopen, fdopen, freopen): Define these to the unlocked
367 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
369 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
370 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
371 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
372 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
374 (fwrite_unlocked): Fix prototype.
376 * configure, config.h.in: Regenerate.
378 2005-03-21 Zack Weinberg <zack@codesourcery.com>
380 * Makefile.in: Set gcc_version directly, not via substitution.
381 (libsubdir): Use $(gcc_version), not $(version).
382 (mkheaders.almost): New rule.
383 (mkheaders): Generate from mkheaders.almost.
384 (clean): Also delete mkheaders.almost.
385 * aclocal.m4: Do not include ../config/gcc-version.m4.
386 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
387 mkheaders.almost from mkheaders.in.
388 * configure: Regenerate.
390 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
393 * inclhack.def: Add fix for array of incomplete structures
394 in function prototype in pthread.h.
395 * fixincl.x: Regenerate.
396 * tests/base/pthread.h: Adjust.
398 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
400 * inclhack.def (hpux_htonl): New fix.
401 * tests/base/netinet/in.h: New test.
402 * fixincl.x: Regenerate.
404 2005-02-23 James E Wilson <wilson@specifixinc.com>
406 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
408 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
411 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
414 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
416 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
417 * aclocal.m4: Include ../config/gcc-version.m4.
418 * configure: Regenerate.
420 2004-11-26 Mark Mitchell <mark@codesourcery.com>
422 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
423 (stdio_va_list): Likewise.
424 (stdio_stdarg.h): Likewise.
425 (solaris_stdio_tag): Add bypass.
426 * fixincl.x: Regenerated.
428 2004-11-23 Geoffrey Keating <geoffk@apple.com>
430 * mkfixinc.sh: Check error code from 'cat'. Don't try running
431 built fixincl program.
432 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
435 2004-11-20 Roger Sayle <roger@eyesopen.com>
437 * inclhack.def (alpha_pthread_init): Fix technical problems with
438 the last check-in caused by CVS variable substitution.
439 * fixincl.x: Likewise.
440 * tests/base/pthread.h: Likewise.
442 2004-11-20 Roger Sayle <roger@eyesopen.com>
443 Bruce Korb <bkorb@gnu.org>
445 * inclhack.def (alpha_pthread_init): New fix.
446 * fixincl.x: Regenerate.
447 * tests/base/pthread.h: Update for new test.
449 2004-11-15 Bruce Korb <bkorb@gnu.org>
451 * fixincl.c(fix_with_system): correct misuse of variables and
452 incorrect application of "sizeof()".
454 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
456 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
457 svr4__p, undefine_null): Remove.
458 * fixincl.x: Regenerate.
459 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
460 * tests/base/sys/param.h: Remove.
461 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
462 tests/base/sys/limits.h: Update.
464 2004-11-12 Mike Stump <mrs@apple.com>
466 * Makefile.in (html): Add html generation support.
468 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
470 * inclhack.def (sco_math): Bypass on __GNUG__.
471 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
472 * fixincl.x: Regenerate.
474 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
476 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
477 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
479 (sun_auth_proto): Bypass on __cplusplus.
480 * fixincl.x: Regenerate.
482 2004-11-05 Geoffrey Keating <geoffk@apple.com>
484 * Makefile.in (mostlyclean): Add fixinc.sh.
485 (clean): Add mkheaders.
491 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
493 * Makefile.in (mostlyclean, distclean): New targets.
495 2004-11-04 Geoffrey Keating <geoffk@apple.com>
497 * configure.ac: Add code to determine noncanonical_target,
498 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
499 * configure: Regenerate.
500 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
501 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
502 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
503 update for changes to fixinc.in.
504 * Makefile.in: Add many new macros.
505 (install): New target.
506 (mkheaders): New target.
507 (fixinc.sh): New target.
508 (all): Add mkheaders and fixinc.sh.
509 * README-fixinc: Move here from gcc/.
511 2004-11-01 Mike Stump <mrs@apple.com>
513 * inclhack.def (stdio_va_list): Break out clients from here...
514 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
515 included or ifdef va_start.
516 * fixincl.x: Regenerate.
518 2004-10-28 Mike Stump <mrs@apple.com>
520 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
522 * fixincl.x: Regenerate.
524 2004-10-27 Geoffrey Keating <geoffk@apple.com>
526 * inclhack.def (darwin_gcc4_breakage): New.
527 * fixincl.x: Regenerate.
529 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
533 * fixfixes.c (main): Check for _PC_NAME_MAX.
535 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
539 * configure.ac: Fix typo.
540 * configure: Regenerate.
541 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
543 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
547 * fixincl.c (SIGCHLD): Remove definition.
548 (initialize): Remove SIGIOT and SIGPIPE checks.
549 (create_file): Fix mkdir() for Win32.
550 (internal_fix): Use dup2() instead of fcntl().
552 * fixlib.h (SIGQUIT): Define if undefined.
558 * procopen.c (chain_open): Use dup2() instead of fcntl().
560 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
564 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
565 Update copyright year.
566 * fixfixes.c (main): Call initialize_opts from fixopts.c.
567 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
568 do not include code for parsing options (environment vars).
569 (fix_with_system): Use a search path for applyfix, so that you
570 can run the test suite with two-process fixincludes.
571 * fixopts.c: New file.
572 * configure.ac: Add --enable-twoprocess. Export ac_exeext
573 to config.h. Default to --enable-twoprocess for MinGW32.
574 * config.h.in: Regenerate.
575 * configure: Regenerate.
577 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
579 * tests/base/sys/cdefs.h: Update from test area.
581 2004-09-17 Roger Sayle <roger@eyesopen.com>
583 * inclhack.def (linux_ia64_ucontext): New fix.
584 * fixincl.x: Regenerate.
585 * tests/base/sys/ucontext.h: New file.
587 2004-09-15 Roger Sayle <roger@eyesopen.com>
589 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
590 * tests/base/stdlib.h: Likewise.
592 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
594 * inclhack.def (freebsd_gcc4_breakage): Add.
595 * fixincl.x: Regenerate.
596 * tests/base/sys/cdefs.h: Update for new test.
598 2004-09-10 Adam Nemet <anemet@lnxw.com>
600 * inclhack.def (lynx_void_int): Remove.
601 (lynxos_fcntl_proto): Remove.
602 (lynxos_no_warning_in_sys_time_h): New fix.
603 (lynxos_missing_putenv): New fix.
604 * fixincl.x: Regenerate.
605 * tests/base/fcntl.h: Remove.
606 * tests/base/sys/time.h: Update from test area.
607 * tests/base/curses.h: Likewise.
608 * tests/base/stdlib.h: Likewise.
610 2004-09-03 Jan Beulich <jbeulich@novell.com>
612 * inclhack.def: Suppress exception_structure and math_exception
614 * fixincl.x: Regenerate.
616 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
619 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
622 * config.h.in: Generate.
623 * configure: Generate.
625 * fixlib.h: Remove inclusions of gcc files.
628 Other files copied from gcc/fixinc.