1 2007-02-03 Bruce Korb <bkorb@gnu.org>
3 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
4 surrounded by space characters.
6 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
9 * inclhack.def(broken_cabs): Also remove definition of cabsl.
10 * fixincl.x: Regenerate.
11 * tests/base/math.h: Update.
13 2007-01-05 Bruce Korb <bkorb@gnu.org>,
14 Daniel Franke <franke.daniel@gmail.com>
17 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
18 of a vertical bar ("|").
19 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
20 matching. Set SKIP_TEST flag if we are not to run a test.
21 * fixincl.x: Regenerate.
22 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
23 kandr_concat, sco_math): Replace lists of specfic file names by search
26 2006-12-12 Olivier Hainque <hainque@adacore.com>
28 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
29 targets for which a no-op fixer is appropriate.
31 2006-11-07 Richard Guenther <rguenther@suse.de>
33 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
35 * fixincl.x: Regenerate.
37 2006-11-02 Geoffrey Keating <geoffk@apple.com>
39 * inclhack.def (glibc_c99_inline_1): New.
40 * inclhack.def (glibc_c99_inline_2): New.
41 * inclhack.def (glibc_c99_inline_3): New.
42 * inclhack.def (glibc_c99_inline_4): New.
43 * fixincl.x: Regenerate.
44 * tests/base/bits/string2.h: New.
45 * tests/base/sys/sysmacros.h: New.
46 * tests/base/sys/stat.h: Update.
48 2006-11-01 Steve Ellcey <sje@cup.hp.com>
50 * tests/base/sys/socket.h: Update.
52 2006-10-31 Steve Ellcey <sje@cup.hp.com>
54 * inclhack.def (hpux11_extern_sendfile): New.
55 (hpux11_extern_sendpath): New.
56 * fixincl.x: Regenerate.
58 2006-10-29 Joseph Myers <joseph@codesourcery.com>
60 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
61 * fixincl.x: Regenerate.
63 2006-10-10 Brooks Moses <bmoses@stanford.edu>
65 * Makefile.in: Added empty "pdf" target.
67 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
70 * inclhack.def (hpux_pthread_initializers): New hack.
71 * tests/base/sys/pthread.h: New file.
73 * fixincl.x: Regenerate.
75 2006-10-03 Uros Bizjak <uros@kss-loka.si>
77 * inclhack.def (glibc_mutex_init): Also fix
78 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
79 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
80 * tests/base/pthread.h: Update.
82 * fixincl.x: Regenerate.
84 2006-10-01 Uros Bizjak <uros@kss-loka.si>
86 * inclhack.def (glibc_mutex_init): New fix.
87 * tests/base/pthread.h: Update.
89 * fixincl.x: Regenerate.
91 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
93 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
94 Prevent it from running on solaris10 or later.
95 (solaris_once_init_2): Fix comment.
96 * tests/base/pthread.h: Update.
98 * fixincl.x: Regenerate.
100 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
102 * inclhack.def (solaris_once_init_2): New fix.
103 * tests/base/pthread.h: Update.
105 * fixincl.x: Regenerate.
107 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
109 * inclhack.def (solaris_mutex_init_2): Remove test for
110 PTHREAD_RWLOCK_INITIALIZER.
111 (solaris_rwlock_init_1): New.
112 * tests/base/pthread.h: Update.
114 * inclhack.def (solaris_once_init_1): New.
115 * tests/base/pthread.h: Adjust for new fix.
117 * fixincl.x: Regenerate.
119 2006-07-17 Roger Sayle <roger@eyesopen.com>
121 * tests/base/errno.h: New file.
122 * tests/base/architecture/ppc/math.h: Likewise.
123 * tests/base/ia64/sys/getppdp.h: Likewise.
125 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
128 * Makefile.in (configure, config.h.in): Change into $(srcdir)
129 before autoconf or autoheader call.
131 2006-06-23 Steve Ellcey <sje@cup.hp.com>
134 * inclhack.def (hpux_extern_errno): New.
135 * fixincl.x: Regenerate.
137 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
139 * Makefile.in: Add dvi info html and install-html to .PHONY
140 Add install-html target.
142 2006-05-16 Mike Stump <mrs@apple.com>
144 * configure.ac: Add -Wno-overlength-strings.
145 * configure: Regenerate.
147 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
151 2006-02-18 Steve Ellcey <sje@cup.hp.com>
154 * inclhack.def (hpux_spu_info): New.
155 * fixincl.x: Regenerate
157 2006-01-31 Marcin Dalecki <martin@dalecki.de>
159 * configure.ac: Check for asprintf, basename, vasprintf.
160 * config.h.in: Regenerate.
161 * configure: Regenerate.
163 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
166 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
169 * fixincl.x: Regenerate.
171 2005-11-24 Bruce Korb <bkorb@gnu.org>
173 * fixincl.c (write_replacement): "here strings" in AutoGen
174 often/generally don't have a terminating newline. Check the
177 2005-11-13 Andreas Jaeger <aj@suse.de>
179 * check.tpl: Handle CVS additionally.
181 2005-11-05 Andreas Jaeger <aj@suse.de>
183 * check.tpl: Adopt for move to subversion.
185 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
188 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
190 * fixincl.x: Regenerate.
191 * tests/base/bits/huge_val.h: New file.
193 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
195 * All files: Update with new FSF address.
197 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
199 * Makefile.in (WARN_CFLAGS): New.
200 (.c.o): Add $(WARN_CFLAGS).
201 * aclocal.m4: Include ../config/warnings.m4.
202 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
203 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
204 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
205 * fixopts.c (initialize_opts): Fix old-style definintion.
207 * configure: Regenerate.
209 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
211 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
212 (AAB_darwin7_9_long_double_funcs_2): New.
213 * fixincl.x: Regenerate.
215 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
218 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
219 Use double quotes in select so \t matches tabs.
221 * fixincl.x: Regenerate.
222 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
224 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
227 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
229 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
230 Joseph S. Myers <joseph@codesourcery.com>
234 * inclhack.def: New fixes solaris_math_[1-9].
235 * fixincl.x: Regenerate.
236 * tests/base/iso/math_c99.h: New.
238 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
240 * aclocal.m4: Remove superfluous reference to accross.m4.
242 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
244 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
245 * server.c (load_data): Likewise.
246 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
247 * fixincl.c: #include <sys/wait.h>
248 (run_compiles): Use XCNEWVEC instead of xcalloc.
249 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
250 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
252 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
254 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
255 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
256 * fixincl.x: Regenerate.
258 2005-05-06 Bruce Korb <bkorb@gnu.org>
259 Joseph S. Myers <joseph@codesourcery.com>
261 * fixinc/inclhack.def: Correct backslashes
262 * fixinc/fixincl.x: regen
264 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
266 * system.h (fopen, fdopen, freopen): Define these to the unlocked
269 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
271 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
272 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
273 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
274 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
276 (fwrite_unlocked): Fix prototype.
278 * configure, config.h.in: Regenerate.
280 2005-03-21 Zack Weinberg <zack@codesourcery.com>
282 * Makefile.in: Set gcc_version directly, not via substitution.
283 (libsubdir): Use $(gcc_version), not $(version).
284 (mkheaders.almost): New rule.
285 (mkheaders): Generate from mkheaders.almost.
286 (clean): Also delete mkheaders.almost.
287 * aclocal.m4: Do not include ../config/gcc-version.m4.
288 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
289 mkheaders.almost from mkheaders.in.
290 * configure: Regenerate.
292 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
295 * inclhack.def: Add fix for array of incomplete structures
296 in function prototype in pthread.h.
297 * fixincl.x: Regenerate.
298 * tests/base/pthread.h: Adjust.
300 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
302 * inclhack.def (hpux_htonl): New fix.
303 * tests/base/netinet/in.h: New test.
304 * fixincl.x: Regenerate.
306 2005-02-23 James E Wilson <wilson@specifixinc.com>
308 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
310 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
313 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
316 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
318 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
319 * aclocal.m4: Include ../config/gcc-version.m4.
320 * configure: Regenerate.
322 2004-11-26 Mark Mitchell <mark@codesourcery.com>
324 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
325 (stdio_va_list): Likewise.
326 (stdio_stdarg.h): Likewise.
327 (solaris_stdio_tag): Add bypass.
328 * fixincl.x: Regenerated.
330 2004-11-23 Geoffrey Keating <geoffk@apple.com>
332 * mkfixinc.sh: Check error code from 'cat'. Don't try running
333 built fixincl program.
334 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
337 2004-11-20 Roger Sayle <roger@eyesopen.com>
339 * inclhack.def (alpha_pthread_init): Fix technical problems with
340 the last check-in caused by CVS variable substitution.
341 * fixincl.x: Likewise.
342 * tests/base/pthread.h: Likewise.
344 2004-11-20 Roger Sayle <roger@eyesopen.com>
345 Bruce Korb <bkorb@gnu.org>
347 * inclhack.def (alpha_pthread_init): New fix.
348 * fixincl.x: Regenerate.
349 * tests/base/pthread.h: Update for new test.
351 2004-11-15 Bruce Korb <bkorb@gnu.org>
353 * fixincl.c(fix_with_system): correct misuse of variables and
354 incorrect application of "sizeof()".
356 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
358 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
359 svr4__p, undefine_null): Remove.
360 * fixincl.x: Regenerate.
361 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
362 * tests/base/sys/param.h: Remove.
363 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
364 tests/base/sys/limits.h: Update.
366 2004-11-12 Mike Stump <mrs@apple.com>
368 * Makefile.in (html): Add html generation support.
370 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
372 * inclhack.def (sco_math): Bypass on __GNUG__.
373 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
374 * fixincl.x: Regenerate.
376 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
378 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
379 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
381 (sun_auth_proto): Bypass on __cplusplus.
382 * fixincl.x: Regenerate.
384 2004-11-05 Geoffrey Keating <geoffk@apple.com>
386 * Makefile.in (mostlyclean): Add fixinc.sh.
387 (clean): Add mkheaders.
393 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
395 * Makefile.in (mostlyclean, distclean): New targets.
397 2004-11-04 Geoffrey Keating <geoffk@apple.com>
399 * configure.ac: Add code to determine noncanonical_target,
400 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
401 * configure: Regenerate.
402 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
403 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
404 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
405 update for changes to fixinc.in.
406 * Makefile.in: Add many new macros.
407 (install): New target.
408 (mkheaders): New target.
409 (fixinc.sh): New target.
410 (all): Add mkheaders and fixinc.sh.
411 * README-fixinc: Move here from gcc/.
413 2004-11-01 Mike Stump <mrs@apple.com>
415 * inclhack.def (stdio_va_list): Break out clients from here...
416 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
417 included or ifdef va_start.
418 * fixincl.x: Regenerate.
420 2004-10-28 Mike Stump <mrs@apple.com>
422 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
424 * fixincl.x: Regenerate.
426 2004-10-27 Geoffrey Keating <geoffk@apple.com>
428 * inclhack.def (darwin_gcc4_breakage): New.
429 * fixincl.x: Regenerate.
431 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
435 * fixfixes.c (main): Check for _PC_NAME_MAX.
437 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
441 * configure.ac: Fix typo.
442 * configure: Regenerate.
443 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
445 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
449 * fixincl.c (SIGCHLD): Remove definition.
450 (initialize): Remove SIGIOT and SIGPIPE checks.
451 (create_file): Fix mkdir() for Win32.
452 (internal_fix): Use dup2() instead of fcntl().
454 * fixlib.h (SIGQUIT): Define if undefined.
460 * procopen.c (chain_open): Use dup2() instead of fcntl().
462 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
466 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
467 Update copyright year.
468 * fixfixes.c (main): Call initialize_opts from fixopts.c.
469 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
470 do not include code for parsing options (environment vars).
471 (fix_with_system): Use a search path for applyfix, so that you
472 can run the test suite with two-process fixincludes.
473 * fixopts.c: New file.
474 * configure.ac: Add --enable-twoprocess. Export ac_exeext
475 to config.h. Default to --enable-twoprocess for MinGW32.
476 * config.h.in: Regenerate.
477 * configure: Regenerate.
479 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
481 * tests/base/sys/cdefs.h: Update from test area.
483 2004-09-17 Roger Sayle <roger@eyesopen.com>
485 * inclhack.def (linux_ia64_ucontext): New fix.
486 * fixincl.x: Regenerate.
487 * tests/base/sys/ucontext.h: New file.
489 2004-09-15 Roger Sayle <roger@eyesopen.com>
491 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
492 * tests/base/stdlib.h: Likewise.
494 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
496 * inclhack.def (freebsd_gcc4_breakage): Add.
497 * fixincl.x: Regenerate.
498 * tests/base/sys/cdefs.h: Update for new test.
500 2004-09-10 Adam Nemet <anemet@lnxw.com>
502 * inclhack.def (lynx_void_int): Remove.
503 (lynxos_fcntl_proto): Remove.
504 (lynxos_no_warning_in_sys_time_h): New fix.
505 (lynxos_missing_putenv): New fix.
506 * fixincl.x: Regenerate.
507 * tests/base/fcntl.h: Remove.
508 * tests/base/sys/time.h: Update from test area.
509 * tests/base/curses.h: Likewise.
510 * tests/base/stdlib.h: Likewise.
512 2004-09-03 Jan Beulich <jbeulich@novell.com>
514 * inclhack.def: Suppress exception_structure and math_exception
516 * fixincl.x: Regenerate.
518 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
521 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
524 * config.h.in: Generate.
525 * configure: Generate.
527 * fixlib.h: Remove inclusions of gcc files.
530 Other files copied from gcc/fixinc.