1 2007-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3 * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
5 * tests/base/iso/math_c99.h: Delete associated test baselines.
6 * fixincl.x: Regenerate.
8 2007-07-24 Krister Walfridsson <cato@df.lth.se>
11 * inclhack.def (netbsd_c99_inline_2): New.
12 * fixincl.x: Regenerate.
13 * tests/base/signal.h: Update.
15 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19 * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
20 solaris_math_7): Constify and make FP exception-safe.
21 * tests/base/iso/math_c99.h: Update.
23 * fixincl.x: Regenerate.
25 2007-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
28 * inclhack.def (irix_stdint_c99): New fix.
29 * fixincl.x: Regenerate.
30 * tests/base/stdint.h: New test.
32 2007-06-06 Steve Ellcey <sje@cup.hp.com>
35 * inclhack.def (hppa_hpux_fp_macros): New.
36 * fixincl.x: Regenerate.
37 * tests/base/math.h: Update.
39 2007-03-26 Jakub Jelinek <jakub@redhat.com>
41 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
42 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
43 __STDC_VERSION__ < 199901L.
44 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
45 with #ifdef __GNUC_GNU_INLINE__.
46 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
47 with defined(__GNUC_STDC_INLINE__).
48 (glibc_c99_inline_4): Change select, add second c_fix_arg.
49 Replace #if __STDC_VERSION__ < 199901L with
50 #ifdef __GNUC_GNU_INLINE__.
51 * fixincl.x: Regenerated.
52 * tests/base/bits/string2.h: Update.
53 * tests/base/sys/sysmacros.h: Update.
54 * tests/base/sys/stat.h: Update.
56 2007-03-18 Krister Walfridsson <cato@df.lth.se>
59 * inclhack.def (netbsd_c99_inline_1): New.
60 * fixincl.x: Regenerate.
61 * tests/base/signal.h: New.
63 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
65 * Makefile.in: Add dummy "install-info" target.
67 2007-03-06 Joseph Myers <joseph@codesourcery.com>
69 * mkheaders.in: Fix headers for each multilib required.
71 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
73 * Makefile.in: Add dummy install-pdf target.
75 2007-02-27 Joseph Myers <joseph@codesourcery.com>
77 * mkheaders.in (incdir): Use include-fixed not include.
79 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
81 * Makefile.in: Added "pdf" target to .PHONY.
83 2007-02-05 Richard Guenther <rguenther@suse.de>
85 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
86 with older glibc. Adjust version number for C99.
87 * fixincl.x: Regenerated.
89 2007-02-04 Mike Stump <mrs@apple.com>
91 * mkheaders.in: Allow optional isysroot parameter.
93 2007-02-03 Bruce Korb <bkorb@gnu.org>
95 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
96 surrounded by space characters.
98 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
101 * inclhack.def(broken_cabs): Also remove definition of cabsl.
102 * fixincl.x: Regenerate.
103 * tests/base/math.h: Update.
105 2007-01-05 Bruce Korb <bkorb@gnu.org>,
106 Daniel Franke <franke.daniel@gmail.com>
109 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
110 of a vertical bar ("|").
111 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
112 matching. Set SKIP_TEST flag if we are not to run a test.
113 * fixincl.x: Regenerate.
114 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
115 kandr_concat, sco_math): Replace lists of specfic file names by search
118 2006-12-12 Olivier Hainque <hainque@adacore.com>
120 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
121 targets for which a no-op fixer is appropriate.
123 2006-11-07 Richard Guenther <rguenther@suse.de>
125 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
127 * fixincl.x: Regenerate.
129 2006-11-02 Geoffrey Keating <geoffk@apple.com>
131 * inclhack.def (glibc_c99_inline_1): New.
132 * inclhack.def (glibc_c99_inline_2): New.
133 * inclhack.def (glibc_c99_inline_3): New.
134 * inclhack.def (glibc_c99_inline_4): New.
135 * fixincl.x: Regenerate.
136 * tests/base/bits/string2.h: New.
137 * tests/base/sys/sysmacros.h: New.
138 * tests/base/sys/stat.h: Update.
140 2006-11-01 Steve Ellcey <sje@cup.hp.com>
142 * tests/base/sys/socket.h: Update.
144 2006-10-31 Steve Ellcey <sje@cup.hp.com>
146 * inclhack.def (hpux11_extern_sendfile): New.
147 (hpux11_extern_sendpath): New.
148 * fixincl.x: Regenerate.
150 2006-10-29 Joseph Myers <joseph@codesourcery.com>
152 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
153 * fixincl.x: Regenerate.
155 2006-10-10 Brooks Moses <bmoses@stanford.edu>
157 * Makefile.in: Added empty "pdf" target.
159 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
162 * inclhack.def (hpux_pthread_initializers): New hack.
163 * tests/base/sys/pthread.h: New file.
165 * fixincl.x: Regenerate.
167 2006-10-03 Uros Bizjak <uros@kss-loka.si>
169 * inclhack.def (glibc_mutex_init): Also fix
170 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
171 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
172 * tests/base/pthread.h: Update.
174 * fixincl.x: Regenerate.
176 2006-10-01 Uros Bizjak <uros@kss-loka.si>
178 * inclhack.def (glibc_mutex_init): New fix.
179 * tests/base/pthread.h: Update.
181 * fixincl.x: Regenerate.
183 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
185 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
186 Prevent it from running on solaris10 or later.
187 (solaris_once_init_2): Fix comment.
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_once_init_2): New fix.
195 * tests/base/pthread.h: Update.
197 * fixincl.x: Regenerate.
199 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
201 * inclhack.def (solaris_mutex_init_2): Remove test for
202 PTHREAD_RWLOCK_INITIALIZER.
203 (solaris_rwlock_init_1): New.
204 * tests/base/pthread.h: Update.
206 * inclhack.def (solaris_once_init_1): New.
207 * tests/base/pthread.h: Adjust for new fix.
209 * fixincl.x: Regenerate.
211 2006-07-17 Roger Sayle <roger@eyesopen.com>
213 * tests/base/errno.h: New file.
214 * tests/base/architecture/ppc/math.h: Likewise.
215 * tests/base/ia64/sys/getppdp.h: Likewise.
217 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
220 * Makefile.in (configure, config.h.in): Change into $(srcdir)
221 before autoconf or autoheader call.
223 2006-06-23 Steve Ellcey <sje@cup.hp.com>
226 * inclhack.def (hpux_extern_errno): New.
227 * fixincl.x: Regenerate.
229 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
231 * Makefile.in: Add dvi info html and install-html to .PHONY
232 Add install-html target.
234 2006-05-16 Mike Stump <mrs@apple.com>
236 * configure.ac: Add -Wno-overlength-strings.
237 * configure: Regenerate.
239 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
243 2006-02-18 Steve Ellcey <sje@cup.hp.com>
246 * inclhack.def (hpux_spu_info): New.
247 * fixincl.x: Regenerate
249 2006-01-31 Marcin Dalecki <martin@dalecki.de>
251 * configure.ac: Check for asprintf, basename, vasprintf.
252 * config.h.in: Regenerate.
253 * configure: Regenerate.
255 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
258 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
261 * fixincl.x: Regenerate.
263 2005-11-24 Bruce Korb <bkorb@gnu.org>
265 * fixincl.c (write_replacement): "here strings" in AutoGen
266 often/generally don't have a terminating newline. Check the
269 2005-11-13 Andreas Jaeger <aj@suse.de>
271 * check.tpl: Handle CVS additionally.
273 2005-11-05 Andreas Jaeger <aj@suse.de>
275 * check.tpl: Adopt for move to subversion.
277 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
280 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
282 * fixincl.x: Regenerate.
283 * tests/base/bits/huge_val.h: New file.
285 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
287 * All files: Update with new FSF address.
289 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
291 * Makefile.in (WARN_CFLAGS): New.
292 (.c.o): Add $(WARN_CFLAGS).
293 * aclocal.m4: Include ../config/warnings.m4.
294 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
295 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
296 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
297 * fixopts.c (initialize_opts): Fix old-style definintion.
299 * configure: Regenerate.
301 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
303 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
304 (AAB_darwin7_9_long_double_funcs_2): New.
305 * fixincl.x: Regenerate.
307 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
310 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
311 Use double quotes in select so \t matches tabs.
313 * fixincl.x: Regenerate.
314 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
316 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
319 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
321 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
322 Joseph S. Myers <joseph@codesourcery.com>
326 * inclhack.def: New fixes solaris_math_[1-9].
327 * fixincl.x: Regenerate.
328 * tests/base/iso/math_c99.h: New.
330 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
332 * aclocal.m4: Remove superfluous reference to accross.m4.
334 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
336 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
337 * server.c (load_data): Likewise.
338 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
339 * fixincl.c: #include <sys/wait.h>
340 (run_compiles): Use XCNEWVEC instead of xcalloc.
341 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
342 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
344 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
346 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
347 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
348 * fixincl.x: Regenerate.
350 2005-05-06 Bruce Korb <bkorb@gnu.org>
351 Joseph S. Myers <joseph@codesourcery.com>
353 * fixinc/inclhack.def: Correct backslashes
354 * fixinc/fixincl.x: regen
356 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
358 * system.h (fopen, fdopen, freopen): Define these to the unlocked
361 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
363 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
364 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
365 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
366 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
368 (fwrite_unlocked): Fix prototype.
370 * configure, config.h.in: Regenerate.
372 2005-03-21 Zack Weinberg <zack@codesourcery.com>
374 * Makefile.in: Set gcc_version directly, not via substitution.
375 (libsubdir): Use $(gcc_version), not $(version).
376 (mkheaders.almost): New rule.
377 (mkheaders): Generate from mkheaders.almost.
378 (clean): Also delete mkheaders.almost.
379 * aclocal.m4: Do not include ../config/gcc-version.m4.
380 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
381 mkheaders.almost from mkheaders.in.
382 * configure: Regenerate.
384 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
387 * inclhack.def: Add fix for array of incomplete structures
388 in function prototype in pthread.h.
389 * fixincl.x: Regenerate.
390 * tests/base/pthread.h: Adjust.
392 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
394 * inclhack.def (hpux_htonl): New fix.
395 * tests/base/netinet/in.h: New test.
396 * fixincl.x: Regenerate.
398 2005-02-23 James E Wilson <wilson@specifixinc.com>
400 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
402 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
405 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
408 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
410 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
411 * aclocal.m4: Include ../config/gcc-version.m4.
412 * configure: Regenerate.
414 2004-11-26 Mark Mitchell <mark@codesourcery.com>
416 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
417 (stdio_va_list): Likewise.
418 (stdio_stdarg.h): Likewise.
419 (solaris_stdio_tag): Add bypass.
420 * fixincl.x: Regenerated.
422 2004-11-23 Geoffrey Keating <geoffk@apple.com>
424 * mkfixinc.sh: Check error code from 'cat'. Don't try running
425 built fixincl program.
426 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
429 2004-11-20 Roger Sayle <roger@eyesopen.com>
431 * inclhack.def (alpha_pthread_init): Fix technical problems with
432 the last check-in caused by CVS variable substitution.
433 * fixincl.x: Likewise.
434 * tests/base/pthread.h: Likewise.
436 2004-11-20 Roger Sayle <roger@eyesopen.com>
437 Bruce Korb <bkorb@gnu.org>
439 * inclhack.def (alpha_pthread_init): New fix.
440 * fixincl.x: Regenerate.
441 * tests/base/pthread.h: Update for new test.
443 2004-11-15 Bruce Korb <bkorb@gnu.org>
445 * fixincl.c(fix_with_system): correct misuse of variables and
446 incorrect application of "sizeof()".
448 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
450 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
451 svr4__p, undefine_null): Remove.
452 * fixincl.x: Regenerate.
453 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
454 * tests/base/sys/param.h: Remove.
455 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
456 tests/base/sys/limits.h: Update.
458 2004-11-12 Mike Stump <mrs@apple.com>
460 * Makefile.in (html): Add html generation support.
462 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
464 * inclhack.def (sco_math): Bypass on __GNUG__.
465 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
466 * fixincl.x: Regenerate.
468 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
470 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
471 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
473 (sun_auth_proto): Bypass on __cplusplus.
474 * fixincl.x: Regenerate.
476 2004-11-05 Geoffrey Keating <geoffk@apple.com>
478 * Makefile.in (mostlyclean): Add fixinc.sh.
479 (clean): Add mkheaders.
485 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
487 * Makefile.in (mostlyclean, distclean): New targets.
489 2004-11-04 Geoffrey Keating <geoffk@apple.com>
491 * configure.ac: Add code to determine noncanonical_target,
492 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
493 * configure: Regenerate.
494 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
495 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
496 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
497 update for changes to fixinc.in.
498 * Makefile.in: Add many new macros.
499 (install): New target.
500 (mkheaders): New target.
501 (fixinc.sh): New target.
502 (all): Add mkheaders and fixinc.sh.
503 * README-fixinc: Move here from gcc/.
505 2004-11-01 Mike Stump <mrs@apple.com>
507 * inclhack.def (stdio_va_list): Break out clients from here...
508 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
509 included or ifdef va_start.
510 * fixincl.x: Regenerate.
512 2004-10-28 Mike Stump <mrs@apple.com>
514 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
516 * fixincl.x: Regenerate.
518 2004-10-27 Geoffrey Keating <geoffk@apple.com>
520 * inclhack.def (darwin_gcc4_breakage): New.
521 * fixincl.x: Regenerate.
523 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
527 * fixfixes.c (main): Check for _PC_NAME_MAX.
529 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
533 * configure.ac: Fix typo.
534 * configure: Regenerate.
535 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
537 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
541 * fixincl.c (SIGCHLD): Remove definition.
542 (initialize): Remove SIGIOT and SIGPIPE checks.
543 (create_file): Fix mkdir() for Win32.
544 (internal_fix): Use dup2() instead of fcntl().
546 * fixlib.h (SIGQUIT): Define if undefined.
552 * procopen.c (chain_open): Use dup2() instead of fcntl().
554 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
558 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
559 Update copyright year.
560 * fixfixes.c (main): Call initialize_opts from fixopts.c.
561 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
562 do not include code for parsing options (environment vars).
563 (fix_with_system): Use a search path for applyfix, so that you
564 can run the test suite with two-process fixincludes.
565 * fixopts.c: New file.
566 * configure.ac: Add --enable-twoprocess. Export ac_exeext
567 to config.h. Default to --enable-twoprocess for MinGW32.
568 * config.h.in: Regenerate.
569 * configure: Regenerate.
571 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
573 * tests/base/sys/cdefs.h: Update from test area.
575 2004-09-17 Roger Sayle <roger@eyesopen.com>
577 * inclhack.def (linux_ia64_ucontext): New fix.
578 * fixincl.x: Regenerate.
579 * tests/base/sys/ucontext.h: New file.
581 2004-09-15 Roger Sayle <roger@eyesopen.com>
583 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
584 * tests/base/stdlib.h: Likewise.
586 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
588 * inclhack.def (freebsd_gcc4_breakage): Add.
589 * fixincl.x: Regenerate.
590 * tests/base/sys/cdefs.h: Update for new test.
592 2004-09-10 Adam Nemet <anemet@lnxw.com>
594 * inclhack.def (lynx_void_int): Remove.
595 (lynxos_fcntl_proto): Remove.
596 (lynxos_no_warning_in_sys_time_h): New fix.
597 (lynxos_missing_putenv): New fix.
598 * fixincl.x: Regenerate.
599 * tests/base/fcntl.h: Remove.
600 * tests/base/sys/time.h: Update from test area.
601 * tests/base/curses.h: Likewise.
602 * tests/base/stdlib.h: Likewise.
604 2004-09-03 Jan Beulich <jbeulich@novell.com>
606 * inclhack.def: Suppress exception_structure and math_exception
608 * fixincl.x: Regenerate.
610 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
613 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
616 * config.h.in: Generate.
617 * configure: Generate.
619 * fixlib.h: Remove inclusions of gcc files.
622 Other files copied from gcc/fixinc.