1 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
4 * inclhack.def(broken_cabs): Also remove definition of cabsl.
5 * fixincl.x: Regenerate.
6 * tests/base/math.h: Update.
8 2007-01-05 Bruce Korb <bkorb@gnu.org>,
9 Daniel Franke <franke.daniel@gmail.com>
12 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
13 of a vertical bar ("|").
14 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
15 matching. Set SKIP_TEST flag if we are not to run a test.
16 * fixincl.x: Regenerate.
17 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
18 kandr_concat, sco_math): Replace lists of specfic file names by search
21 2006-12-12 Olivier Hainque <hainque@adacore.com>
23 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
24 targets for which a no-op fixer is appropriate.
26 2006-11-07 Richard Guenther <rguenther@suse.de>
28 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
30 * fixincl.x: Regenerate.
32 2006-11-02 Geoffrey Keating <geoffk@apple.com>
34 * inclhack.def (glibc_c99_inline_1): New.
35 * inclhack.def (glibc_c99_inline_2): New.
36 * inclhack.def (glibc_c99_inline_3): New.
37 * inclhack.def (glibc_c99_inline_4): New.
38 * fixincl.x: Regenerate.
39 * tests/base/bits/string2.h: New.
40 * tests/base/sys/sysmacros.h: New.
41 * tests/base/sys/stat.h: Update.
43 2006-11-01 Steve Ellcey <sje@cup.hp.com>
45 * tests/base/sys/socket.h: Update.
47 2006-10-31 Steve Ellcey <sje@cup.hp.com>
49 * inclhack.def (hpux11_extern_sendfile): New.
50 (hpux11_extern_sendpath): New.
51 * fixincl.x: Regenerate.
53 2006-10-29 Joseph Myers <joseph@codesourcery.com>
55 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
56 * fixincl.x: Regenerate.
58 2006-10-10 Brooks Moses <bmoses@stanford.edu>
60 * Makefile.in: Added empty "pdf" target.
62 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
65 * inclhack.def (hpux_pthread_initializers): New hack.
66 * tests/base/sys/pthread.h: New file.
68 * fixincl.x: Regenerate.
70 2006-10-03 Uros Bizjak <uros@kss-loka.si>
72 * inclhack.def (glibc_mutex_init): Also fix
73 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
74 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
75 * tests/base/pthread.h: Update.
77 * fixincl.x: Regenerate.
79 2006-10-01 Uros Bizjak <uros@kss-loka.si>
81 * inclhack.def (glibc_mutex_init): New fix.
82 * tests/base/pthread.h: Update.
84 * fixincl.x: Regenerate.
86 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
88 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
89 Prevent it from running on solaris10 or later.
90 (solaris_once_init_2): Fix comment.
91 * tests/base/pthread.h: Update.
93 * fixincl.x: Regenerate.
95 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
97 * inclhack.def (solaris_once_init_2): New fix.
98 * tests/base/pthread.h: Update.
100 * fixincl.x: Regenerate.
102 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
104 * inclhack.def (solaris_mutex_init_2): Remove test for
105 PTHREAD_RWLOCK_INITIALIZER.
106 (solaris_rwlock_init_1): New.
107 * tests/base/pthread.h: Update.
109 * inclhack.def (solaris_once_init_1): New.
110 * tests/base/pthread.h: Adjust for new fix.
112 * fixincl.x: Regenerate.
114 2006-07-17 Roger Sayle <roger@eyesopen.com>
116 * tests/base/errno.h: New file.
117 * tests/base/architecture/ppc/math.h: Likewise.
118 * tests/base/ia64/sys/getppdp.h: Likewise.
120 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
123 * Makefile.in (configure, config.h.in): Change into $(srcdir)
124 before autoconf or autoheader call.
126 2006-06-23 Steve Ellcey <sje@cup.hp.com>
129 * inclhack.def (hpux_extern_errno): New.
130 * fixincl.x: Regenerate.
132 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
134 * Makefile.in: Add dvi info html and install-html to .PHONY
135 Add install-html target.
137 2006-05-16 Mike Stump <mrs@apple.com>
139 * configure.ac: Add -Wno-overlength-strings.
140 * configure: Regenerate.
142 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
146 2006-02-18 Steve Ellcey <sje@cup.hp.com>
149 * inclhack.def (hpux_spu_info): New.
150 * fixincl.x: Regenerate
152 2006-01-31 Marcin Dalecki <martin@dalecki.de>
154 * configure.ac: Check for asprintf, basename, vasprintf.
155 * config.h.in: Regenerate.
156 * configure: Regenerate.
158 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
161 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
164 * fixincl.x: Regenerate.
166 2005-11-24 Bruce Korb <bkorb@gnu.org>
168 * fixincl.c (write_replacement): "here strings" in AutoGen
169 often/generally don't have a terminating newline. Check the
172 2005-11-13 Andreas Jaeger <aj@suse.de>
174 * check.tpl: Handle CVS additionally.
176 2005-11-05 Andreas Jaeger <aj@suse.de>
178 * check.tpl: Adopt for move to subversion.
180 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
183 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
185 * fixincl.x: Regenerate.
186 * tests/base/bits/huge_val.h: New file.
188 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
190 * All files: Update with new FSF address.
192 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
194 * Makefile.in (WARN_CFLAGS): New.
195 (.c.o): Add $(WARN_CFLAGS).
196 * aclocal.m4: Include ../config/warnings.m4.
197 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
198 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
199 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
200 * fixopts.c (initialize_opts): Fix old-style definintion.
202 * configure: Regenerate.
204 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
206 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
207 (AAB_darwin7_9_long_double_funcs_2): New.
208 * fixincl.x: Regenerate.
210 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
213 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
214 Use double quotes in select so \t matches tabs.
216 * fixincl.x: Regenerate.
217 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
219 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
222 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
224 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
225 Joseph S. Myers <joseph@codesourcery.com>
229 * inclhack.def: New fixes solaris_math_[1-9].
230 * fixincl.x: Regenerate.
231 * tests/base/iso/math_c99.h: New.
233 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
235 * aclocal.m4: Remove superfluous reference to accross.m4.
237 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
239 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
240 * server.c (load_data): Likewise.
241 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
242 * fixincl.c: #include <sys/wait.h>
243 (run_compiles): Use XCNEWVEC instead of xcalloc.
244 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
245 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
247 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
249 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
250 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
251 * fixincl.x: Regenerate.
253 2005-05-06 Bruce Korb <bkorb@gnu.org>
254 Joseph S. Myers <joseph@codesourcery.com>
256 * fixinc/inclhack.def: Correct backslashes
257 * fixinc/fixincl.x: regen
259 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
261 * system.h (fopen, fdopen, freopen): Define these to the unlocked
264 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
266 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
267 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
268 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
269 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
271 (fwrite_unlocked): Fix prototype.
273 * configure, config.h.in: Regenerate.
275 2005-03-21 Zack Weinberg <zack@codesourcery.com>
277 * Makefile.in: Set gcc_version directly, not via substitution.
278 (libsubdir): Use $(gcc_version), not $(version).
279 (mkheaders.almost): New rule.
280 (mkheaders): Generate from mkheaders.almost.
281 (clean): Also delete mkheaders.almost.
282 * aclocal.m4: Do not include ../config/gcc-version.m4.
283 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
284 mkheaders.almost from mkheaders.in.
285 * configure: Regenerate.
287 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
290 * inclhack.def: Add fix for array of incomplete structures
291 in function prototype in pthread.h.
292 * fixincl.x: Regenerate.
293 * tests/base/pthread.h: Adjust.
295 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
297 * inclhack.def (hpux_htonl): New fix.
298 * tests/base/netinet/in.h: New test.
299 * fixincl.x: Regenerate.
301 2005-02-23 James E Wilson <wilson@specifixinc.com>
303 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
305 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
308 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
311 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
313 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
314 * aclocal.m4: Include ../config/gcc-version.m4.
315 * configure: Regenerate.
317 2004-11-26 Mark Mitchell <mark@codesourcery.com>
319 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
320 (stdio_va_list): Likewise.
321 (stdio_stdarg.h): Likewise.
322 (solaris_stdio_tag): Add bypass.
323 * fixincl.x: Regenerated.
325 2004-11-23 Geoffrey Keating <geoffk@apple.com>
327 * mkfixinc.sh: Check error code from 'cat'. Don't try running
328 built fixincl program.
329 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
332 2004-11-20 Roger Sayle <roger@eyesopen.com>
334 * inclhack.def (alpha_pthread_init): Fix technical problems with
335 the last check-in caused by CVS variable substitution.
336 * fixincl.x: Likewise.
337 * tests/base/pthread.h: Likewise.
339 2004-11-20 Roger Sayle <roger@eyesopen.com>
340 Bruce Korb <bkorb@gnu.org>
342 * inclhack.def (alpha_pthread_init): New fix.
343 * fixincl.x: Regenerate.
344 * tests/base/pthread.h: Update for new test.
346 2004-11-15 Bruce Korb <bkorb@gnu.org>
348 * fixincl.c(fix_with_system): correct misuse of variables and
349 incorrect application of "sizeof()".
351 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
353 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
354 svr4__p, undefine_null): Remove.
355 * fixincl.x: Regenerate.
356 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
357 * tests/base/sys/param.h: Remove.
358 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
359 tests/base/sys/limits.h: Update.
361 2004-11-12 Mike Stump <mrs@apple.com>
363 * Makefile.in (html): Add html generation support.
365 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
367 * inclhack.def (sco_math): Bypass on __GNUG__.
368 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
369 * fixincl.x: Regenerate.
371 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
373 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
374 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
376 (sun_auth_proto): Bypass on __cplusplus.
377 * fixincl.x: Regenerate.
379 2004-11-05 Geoffrey Keating <geoffk@apple.com>
381 * Makefile.in (mostlyclean): Add fixinc.sh.
382 (clean): Add mkheaders.
388 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
390 * Makefile.in (mostlyclean, distclean): New targets.
392 2004-11-04 Geoffrey Keating <geoffk@apple.com>
394 * configure.ac: Add code to determine noncanonical_target,
395 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
396 * configure: Regenerate.
397 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
398 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
399 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
400 update for changes to fixinc.in.
401 * Makefile.in: Add many new macros.
402 (install): New target.
403 (mkheaders): New target.
404 (fixinc.sh): New target.
405 (all): Add mkheaders and fixinc.sh.
406 * README-fixinc: Move here from gcc/.
408 2004-11-01 Mike Stump <mrs@apple.com>
410 * inclhack.def (stdio_va_list): Break out clients from here...
411 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
412 included or ifdef va_start.
413 * fixincl.x: Regenerate.
415 2004-10-28 Mike Stump <mrs@apple.com>
417 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
419 * fixincl.x: Regenerate.
421 2004-10-27 Geoffrey Keating <geoffk@apple.com>
423 * inclhack.def (darwin_gcc4_breakage): New.
424 * fixincl.x: Regenerate.
426 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
430 * fixfixes.c (main): Check for _PC_NAME_MAX.
432 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
436 * configure.ac: Fix typo.
437 * configure: Regenerate.
438 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
440 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
444 * fixincl.c (SIGCHLD): Remove definition.
445 (initialize): Remove SIGIOT and SIGPIPE checks.
446 (create_file): Fix mkdir() for Win32.
447 (internal_fix): Use dup2() instead of fcntl().
449 * fixlib.h (SIGQUIT): Define if undefined.
455 * procopen.c (chain_open): Use dup2() instead of fcntl().
457 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
461 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
462 Update copyright year.
463 * fixfixes.c (main): Call initialize_opts from fixopts.c.
464 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
465 do not include code for parsing options (environment vars).
466 (fix_with_system): Use a search path for applyfix, so that you
467 can run the test suite with two-process fixincludes.
468 * fixopts.c: New file.
469 * configure.ac: Add --enable-twoprocess. Export ac_exeext
470 to config.h. Default to --enable-twoprocess for MinGW32.
471 * config.h.in: Regenerate.
472 * configure: Regenerate.
474 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
476 * tests/base/sys/cdefs.h: Update from test area.
478 2004-09-17 Roger Sayle <roger@eyesopen.com>
480 * inclhack.def (linux_ia64_ucontext): New fix.
481 * fixincl.x: Regenerate.
482 * tests/base/sys/ucontext.h: New file.
484 2004-09-15 Roger Sayle <roger@eyesopen.com>
486 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
487 * tests/base/stdlib.h: Likewise.
489 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
491 * inclhack.def (freebsd_gcc4_breakage): Add.
492 * fixincl.x: Regenerate.
493 * tests/base/sys/cdefs.h: Update for new test.
495 2004-09-10 Adam Nemet <anemet@lnxw.com>
497 * inclhack.def (lynx_void_int): Remove.
498 (lynxos_fcntl_proto): Remove.
499 (lynxos_no_warning_in_sys_time_h): New fix.
500 (lynxos_missing_putenv): New fix.
501 * fixincl.x: Regenerate.
502 * tests/base/fcntl.h: Remove.
503 * tests/base/sys/time.h: Update from test area.
504 * tests/base/curses.h: Likewise.
505 * tests/base/stdlib.h: Likewise.
507 2004-09-03 Jan Beulich <jbeulich@novell.com>
509 * inclhack.def: Suppress exception_structure and math_exception
511 * fixincl.x: Regenerate.
513 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
516 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
519 * config.h.in: Generate.
520 * configure: Generate.
522 * fixlib.h: Remove inclusions of gcc files.
525 Other files copied from gcc/fixinc.