1 2007-02-05 Richard Guenther <rguenther@suse.de>
3 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
4 with older glibc. Adjust version number for C99.
5 * fixincl.x: Regenerated.
7 2007-02-04 Mike Stump <mrs@apple.com>
9 * mkheaders.in: Allow optional isysroot parameter.
11 2007-02-03 Bruce Korb <bkorb@gnu.org>
13 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
14 surrounded by space characters.
16 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
19 * inclhack.def(broken_cabs): Also remove definition of cabsl.
20 * fixincl.x: Regenerate.
21 * tests/base/math.h: Update.
23 2007-01-05 Bruce Korb <bkorb@gnu.org>,
24 Daniel Franke <franke.daniel@gmail.com>
27 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
28 of a vertical bar ("|").
29 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
30 matching. Set SKIP_TEST flag if we are not to run a test.
31 * fixincl.x: Regenerate.
32 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
33 kandr_concat, sco_math): Replace lists of specfic file names by search
36 2006-12-12 Olivier Hainque <hainque@adacore.com>
38 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
39 targets for which a no-op fixer is appropriate.
41 2006-11-07 Richard Guenther <rguenther@suse.de>
43 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
45 * fixincl.x: Regenerate.
47 2006-11-02 Geoffrey Keating <geoffk@apple.com>
49 * inclhack.def (glibc_c99_inline_1): New.
50 * inclhack.def (glibc_c99_inline_2): New.
51 * inclhack.def (glibc_c99_inline_3): New.
52 * inclhack.def (glibc_c99_inline_4): New.
53 * fixincl.x: Regenerate.
54 * tests/base/bits/string2.h: New.
55 * tests/base/sys/sysmacros.h: New.
56 * tests/base/sys/stat.h: Update.
58 2006-11-01 Steve Ellcey <sje@cup.hp.com>
60 * tests/base/sys/socket.h: Update.
62 2006-10-31 Steve Ellcey <sje@cup.hp.com>
64 * inclhack.def (hpux11_extern_sendfile): New.
65 (hpux11_extern_sendpath): New.
66 * fixincl.x: Regenerate.
68 2006-10-29 Joseph Myers <joseph@codesourcery.com>
70 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
71 * fixincl.x: Regenerate.
73 2006-10-10 Brooks Moses <bmoses@stanford.edu>
75 * Makefile.in: Added empty "pdf" target.
77 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
80 * inclhack.def (hpux_pthread_initializers): New hack.
81 * tests/base/sys/pthread.h: New file.
83 * fixincl.x: Regenerate.
85 2006-10-03 Uros Bizjak <uros@kss-loka.si>
87 * inclhack.def (glibc_mutex_init): Also fix
88 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
89 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
90 * tests/base/pthread.h: Update.
92 * fixincl.x: Regenerate.
94 2006-10-01 Uros Bizjak <uros@kss-loka.si>
96 * inclhack.def (glibc_mutex_init): New fix.
97 * tests/base/pthread.h: Update.
99 * fixincl.x: Regenerate.
101 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
103 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
104 Prevent it from running on solaris10 or later.
105 (solaris_once_init_2): Fix comment.
106 * tests/base/pthread.h: Update.
108 * fixincl.x: Regenerate.
110 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
112 * inclhack.def (solaris_once_init_2): New fix.
113 * tests/base/pthread.h: Update.
115 * fixincl.x: Regenerate.
117 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
119 * inclhack.def (solaris_mutex_init_2): Remove test for
120 PTHREAD_RWLOCK_INITIALIZER.
121 (solaris_rwlock_init_1): New.
122 * tests/base/pthread.h: Update.
124 * inclhack.def (solaris_once_init_1): New.
125 * tests/base/pthread.h: Adjust for new fix.
127 * fixincl.x: Regenerate.
129 2006-07-17 Roger Sayle <roger@eyesopen.com>
131 * tests/base/errno.h: New file.
132 * tests/base/architecture/ppc/math.h: Likewise.
133 * tests/base/ia64/sys/getppdp.h: Likewise.
135 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
138 * Makefile.in (configure, config.h.in): Change into $(srcdir)
139 before autoconf or autoheader call.
141 2006-06-23 Steve Ellcey <sje@cup.hp.com>
144 * inclhack.def (hpux_extern_errno): New.
145 * fixincl.x: Regenerate.
147 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
149 * Makefile.in: Add dvi info html and install-html to .PHONY
150 Add install-html target.
152 2006-05-16 Mike Stump <mrs@apple.com>
154 * configure.ac: Add -Wno-overlength-strings.
155 * configure: Regenerate.
157 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
161 2006-02-18 Steve Ellcey <sje@cup.hp.com>
164 * inclhack.def (hpux_spu_info): New.
165 * fixincl.x: Regenerate
167 2006-01-31 Marcin Dalecki <martin@dalecki.de>
169 * configure.ac: Check for asprintf, basename, vasprintf.
170 * config.h.in: Regenerate.
171 * configure: Regenerate.
173 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
176 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
179 * fixincl.x: Regenerate.
181 2005-11-24 Bruce Korb <bkorb@gnu.org>
183 * fixincl.c (write_replacement): "here strings" in AutoGen
184 often/generally don't have a terminating newline. Check the
187 2005-11-13 Andreas Jaeger <aj@suse.de>
189 * check.tpl: Handle CVS additionally.
191 2005-11-05 Andreas Jaeger <aj@suse.de>
193 * check.tpl: Adopt for move to subversion.
195 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
198 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
200 * fixincl.x: Regenerate.
201 * tests/base/bits/huge_val.h: New file.
203 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
205 * All files: Update with new FSF address.
207 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
209 * Makefile.in (WARN_CFLAGS): New.
210 (.c.o): Add $(WARN_CFLAGS).
211 * aclocal.m4: Include ../config/warnings.m4.
212 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
213 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
214 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
215 * fixopts.c (initialize_opts): Fix old-style definintion.
217 * configure: Regenerate.
219 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
221 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
222 (AAB_darwin7_9_long_double_funcs_2): New.
223 * fixincl.x: Regenerate.
225 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
228 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
229 Use double quotes in select so \t matches tabs.
231 * fixincl.x: Regenerate.
232 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
234 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
237 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
239 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
240 Joseph S. Myers <joseph@codesourcery.com>
244 * inclhack.def: New fixes solaris_math_[1-9].
245 * fixincl.x: Regenerate.
246 * tests/base/iso/math_c99.h: New.
248 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
250 * aclocal.m4: Remove superfluous reference to accross.m4.
252 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
254 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
255 * server.c (load_data): Likewise.
256 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
257 * fixincl.c: #include <sys/wait.h>
258 (run_compiles): Use XCNEWVEC instead of xcalloc.
259 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
260 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
262 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
264 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
265 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
266 * fixincl.x: Regenerate.
268 2005-05-06 Bruce Korb <bkorb@gnu.org>
269 Joseph S. Myers <joseph@codesourcery.com>
271 * fixinc/inclhack.def: Correct backslashes
272 * fixinc/fixincl.x: regen
274 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
276 * system.h (fopen, fdopen, freopen): Define these to the unlocked
279 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
281 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
282 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
283 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
284 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
286 (fwrite_unlocked): Fix prototype.
288 * configure, config.h.in: Regenerate.
290 2005-03-21 Zack Weinberg <zack@codesourcery.com>
292 * Makefile.in: Set gcc_version directly, not via substitution.
293 (libsubdir): Use $(gcc_version), not $(version).
294 (mkheaders.almost): New rule.
295 (mkheaders): Generate from mkheaders.almost.
296 (clean): Also delete mkheaders.almost.
297 * aclocal.m4: Do not include ../config/gcc-version.m4.
298 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
299 mkheaders.almost from mkheaders.in.
300 * configure: Regenerate.
302 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
305 * inclhack.def: Add fix for array of incomplete structures
306 in function prototype in pthread.h.
307 * fixincl.x: Regenerate.
308 * tests/base/pthread.h: Adjust.
310 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
312 * inclhack.def (hpux_htonl): New fix.
313 * tests/base/netinet/in.h: New test.
314 * fixincl.x: Regenerate.
316 2005-02-23 James E Wilson <wilson@specifixinc.com>
318 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
320 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
323 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
326 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
328 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
329 * aclocal.m4: Include ../config/gcc-version.m4.
330 * configure: Regenerate.
332 2004-11-26 Mark Mitchell <mark@codesourcery.com>
334 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
335 (stdio_va_list): Likewise.
336 (stdio_stdarg.h): Likewise.
337 (solaris_stdio_tag): Add bypass.
338 * fixincl.x: Regenerated.
340 2004-11-23 Geoffrey Keating <geoffk@apple.com>
342 * mkfixinc.sh: Check error code from 'cat'. Don't try running
343 built fixincl program.
344 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
347 2004-11-20 Roger Sayle <roger@eyesopen.com>
349 * inclhack.def (alpha_pthread_init): Fix technical problems with
350 the last check-in caused by CVS variable substitution.
351 * fixincl.x: Likewise.
352 * tests/base/pthread.h: Likewise.
354 2004-11-20 Roger Sayle <roger@eyesopen.com>
355 Bruce Korb <bkorb@gnu.org>
357 * inclhack.def (alpha_pthread_init): New fix.
358 * fixincl.x: Regenerate.
359 * tests/base/pthread.h: Update for new test.
361 2004-11-15 Bruce Korb <bkorb@gnu.org>
363 * fixincl.c(fix_with_system): correct misuse of variables and
364 incorrect application of "sizeof()".
366 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
368 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
369 svr4__p, undefine_null): Remove.
370 * fixincl.x: Regenerate.
371 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
372 * tests/base/sys/param.h: Remove.
373 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
374 tests/base/sys/limits.h: Update.
376 2004-11-12 Mike Stump <mrs@apple.com>
378 * Makefile.in (html): Add html generation support.
380 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
382 * inclhack.def (sco_math): Bypass on __GNUG__.
383 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
384 * fixincl.x: Regenerate.
386 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
388 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
389 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
391 (sun_auth_proto): Bypass on __cplusplus.
392 * fixincl.x: Regenerate.
394 2004-11-05 Geoffrey Keating <geoffk@apple.com>
396 * Makefile.in (mostlyclean): Add fixinc.sh.
397 (clean): Add mkheaders.
403 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
405 * Makefile.in (mostlyclean, distclean): New targets.
407 2004-11-04 Geoffrey Keating <geoffk@apple.com>
409 * configure.ac: Add code to determine noncanonical_target,
410 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
411 * configure: Regenerate.
412 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
413 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
414 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
415 update for changes to fixinc.in.
416 * Makefile.in: Add many new macros.
417 (install): New target.
418 (mkheaders): New target.
419 (fixinc.sh): New target.
420 (all): Add mkheaders and fixinc.sh.
421 * README-fixinc: Move here from gcc/.
423 2004-11-01 Mike Stump <mrs@apple.com>
425 * inclhack.def (stdio_va_list): Break out clients from here...
426 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
427 included or ifdef va_start.
428 * fixincl.x: Regenerate.
430 2004-10-28 Mike Stump <mrs@apple.com>
432 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
434 * fixincl.x: Regenerate.
436 2004-10-27 Geoffrey Keating <geoffk@apple.com>
438 * inclhack.def (darwin_gcc4_breakage): New.
439 * fixincl.x: Regenerate.
441 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
445 * fixfixes.c (main): Check for _PC_NAME_MAX.
447 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
451 * configure.ac: Fix typo.
452 * configure: Regenerate.
453 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
455 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
459 * fixincl.c (SIGCHLD): Remove definition.
460 (initialize): Remove SIGIOT and SIGPIPE checks.
461 (create_file): Fix mkdir() for Win32.
462 (internal_fix): Use dup2() instead of fcntl().
464 * fixlib.h (SIGQUIT): Define if undefined.
470 * procopen.c (chain_open): Use dup2() instead of fcntl().
472 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
476 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
477 Update copyright year.
478 * fixfixes.c (main): Call initialize_opts from fixopts.c.
479 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
480 do not include code for parsing options (environment vars).
481 (fix_with_system): Use a search path for applyfix, so that you
482 can run the test suite with two-process fixincludes.
483 * fixopts.c: New file.
484 * configure.ac: Add --enable-twoprocess. Export ac_exeext
485 to config.h. Default to --enable-twoprocess for MinGW32.
486 * config.h.in: Regenerate.
487 * configure: Regenerate.
489 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
491 * tests/base/sys/cdefs.h: Update from test area.
493 2004-09-17 Roger Sayle <roger@eyesopen.com>
495 * inclhack.def (linux_ia64_ucontext): New fix.
496 * fixincl.x: Regenerate.
497 * tests/base/sys/ucontext.h: New file.
499 2004-09-15 Roger Sayle <roger@eyesopen.com>
501 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
502 * tests/base/stdlib.h: Likewise.
504 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
506 * inclhack.def (freebsd_gcc4_breakage): Add.
507 * fixincl.x: Regenerate.
508 * tests/base/sys/cdefs.h: Update for new test.
510 2004-09-10 Adam Nemet <anemet@lnxw.com>
512 * inclhack.def (lynx_void_int): Remove.
513 (lynxos_fcntl_proto): Remove.
514 (lynxos_no_warning_in_sys_time_h): New fix.
515 (lynxos_missing_putenv): New fix.
516 * fixincl.x: Regenerate.
517 * tests/base/fcntl.h: Remove.
518 * tests/base/sys/time.h: Update from test area.
519 * tests/base/curses.h: Likewise.
520 * tests/base/stdlib.h: Likewise.
522 2004-09-03 Jan Beulich <jbeulich@novell.com>
524 * inclhack.def: Suppress exception_structure and math_exception
526 * fixincl.x: Regenerate.
528 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
531 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
534 * config.h.in: Generate.
535 * configure: Generate.
537 * fixlib.h: Remove inclusions of gcc files.
540 Other files copied from gcc/fixinc.