1 2008-03-17 Dave Korn <dave.korn@artimi.com>
3 * fixincl.x: Revert last change, restoring GPLv2 status.
5 2008-02-04 Ismail Dönmez <ismail@pardus.org.tr>
7 * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
8 freebsd_gcc4_breakage, hpux11_abs, netbsd_extra_semicolon): Add
9 quotes around mach entries.
10 * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
13 2007-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17 * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
18 solaris_math_7): Constify and make FP exception-safe.
19 * tests/base/iso/math_c99.h: Update.
21 * fixincl.x: Regenerate.
23 2007-02-13 Release Manager
27 2006-10-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
30 * inclhack.def (hpux_pthread_initializers): New hack.
31 * tests/base/sys/pthread.h: New file.
33 * fixincl.x: Regenerate.
35 2006-10-03 Uros Bizjak <uros@kss-loka.si>
37 * inclhack.def (glibc_mutex_init): Also fix
38 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
39 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
40 * tests/base/pthread.h: Update.
42 * fixincl.x: Regenerate.
44 2006-10-01 Uros Bizjak <uros@kss-loka.si>
46 * inclhack.def (glibc_mutex_init): New fix.
47 * tests/base/pthread.h: Update.
49 * fixincl.x: Regenerate.
51 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
53 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
54 Prevent it from running on solaris10 or later.
55 (solaris_once_init_2): Fix comment.
56 * tests/base/pthread.h: Update.
58 * fixincl.x: Regenerate.
60 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
62 * inclhack.def (solaris_once_init_2): New fix.
63 * tests/base/pthread.h: Update.
65 * fixincl.x: Regenerate.
67 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
69 * inclhack.def (solaris_mutex_init_2): Remove test for
70 PTHREAD_RWLOCK_INITIALIZER.
71 (solaris_rwlock_init_1): New.
72 * tests/base/pthread.h: Update.
74 * inclhack.def (solaris_once_init_1): New.
75 * tests/base/pthread.h: Adjust for new fix.
77 * fixincl.x: Regenerate.
79 2006-07-24 Roger Sayle <roger@eyesopen.com>
81 Backport from mainline.
82 * tests/base/errno.h: New file.
83 * tests/base/ia64/sys/getppdp.h: Likewise.
85 2006-07-10 Steve Ellcey <sje@cup.hp.com>
88 * inclhack.def (hpux_extern_errno): New.
89 * fixincl.x: Regenerate.
91 2006-05-24 Release Manager
95 2006-02-28 Release Manager
99 2006-02-18 Steve Ellcey <sje@cup.hp.com>
102 * inclhack.def (hpux_spu_info): New.
103 * fixincl.x: Regenerate
105 2005-11-25 Bruce Korb <bkorb@gnu.org>
107 * fixincl.c (write_replacement): "here strings" in AutoGen often
108 [generally] don't have a terminating newline. Check the last byte
111 2005-11-13 Andreas Jaeger <aj@suse.de>
113 * check.tpl: Handle CVS additionally.
115 2005-11-05 Andreas Jaeger <aj@suse.de>
117 * check.tpl: Adopt for move to subversion.
119 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
122 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
124 * fixincl.x: Regenerate.
125 * tests/base/bits/huge_val.h: New file.
127 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
129 * All files: Update with new FSF address.
131 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
133 * Makefile.in (WARN_CFLAGS): New.
134 (.c.o): Add $(WARN_CFLAGS).
135 * aclocal.m4: Include ../config/warnings.m4.
136 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
137 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
138 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
139 * fixopts.c (initialize_opts): Fix old-style definintion.
141 * configure: Regenerate.
143 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
145 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
146 (AAB_darwin7_9_long_double_funcs_2): New.
147 * fixincl.x: Regenerate.
149 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
152 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
153 Use double quotes in select so \t matches tabs.
155 * fixincl.x: Regenerate.
156 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
158 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
161 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
163 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
164 Joseph S. Myers <joseph@codesourcery.com>
168 * inclhack.def: New fixes solaris_math_[1-9].
169 * fixincl.x: Regenerate.
170 * tests/base/iso/math_c99.h: New.
172 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
174 * aclocal.m4: Remove superfluous reference to accross.m4.
176 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
178 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
179 * server.c (load_data): Likewise.
180 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
181 * fixincl.c: #include <sys/wait.h>
182 (run_compiles): Use XCNEWVEC instead of xcalloc.
183 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
184 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
186 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
188 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
189 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
190 * fixincl.x: Regenerate.
192 2005-05-06 Bruce Korb <bkorb@gnu.org>
193 Joseph S. Myers <joseph@codesourcery.com>
195 * fixinc/inclhack.def: Correct backslashes
196 * fixinc/fixincl.x: regen
198 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
200 * system.h (fopen, fdopen, freopen): Define these to the unlocked
203 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
205 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
206 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
207 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
208 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
210 (fwrite_unlocked): Fix prototype.
212 * configure, config.h.in: Regenerate.
214 2005-03-21 Zack Weinberg <zack@codesourcery.com>
216 * Makefile.in: Set gcc_version directly, not via substitution.
217 (libsubdir): Use $(gcc_version), not $(version).
218 (mkheaders.almost): New rule.
219 (mkheaders): Generate from mkheaders.almost.
220 (clean): Also delete mkheaders.almost.
221 * aclocal.m4: Do not include ../config/gcc-version.m4.
222 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
223 mkheaders.almost from mkheaders.in.
224 * configure: Regenerate.
226 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
229 * inclhack.def: Add fix for array of incomplete structures
230 in function prototype in pthread.h.
231 * fixincl.x: Regenerate.
232 * tests/base/pthread.h: Adjust.
234 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
236 * inclhack.def (hpux_htonl): New fix.
237 * tests/base/netinet/in.h: New test.
238 * fixincl.x: Regenerate.
240 2005-02-23 James E Wilson <wilson@specifixinc.com>
242 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
244 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
247 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
250 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
252 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
253 * aclocal.m4: Include ../config/gcc-version.m4.
254 * configure: Regenerate.
256 2004-11-26 Mark Mitchell <mark@codesourcery.com>
258 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
259 (stdio_va_list): Likewise.
260 (stdio_stdarg.h): Likewise.
261 (solaris_stdio_tag): Add bypass.
262 * fixincl.x: Regenerated.
264 2004-11-23 Geoffrey Keating <geoffk@apple.com>
266 * mkfixinc.sh: Check error code from 'cat'. Don't try running
267 built fixincl program.
268 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
271 2004-11-20 Roger Sayle <roger@eyesopen.com>
273 * inclhack.def (alpha_pthread_init): Fix technical problems with
274 the last check-in caused by CVS variable substitution.
275 * fixincl.x: Likewise.
276 * tests/base/pthread.h: Likewise.
278 2004-11-20 Roger Sayle <roger@eyesopen.com>
279 Bruce Korb <bkorb@gnu.org>
281 * inclhack.def (alpha_pthread_init): New fix.
282 * fixincl.x: Regenerate.
283 * tests/base/pthread.h: Update for new test.
285 2004-11-15 Bruce Korb <bkorb@gnu.org>
287 * fixincl.c(fix_with_system): correct misuse of variables and
288 incorrect application of "sizeof()".
290 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
292 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
293 svr4__p, undefine_null): Remove.
294 * fixincl.x: Regenerate.
295 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
296 * tests/base/sys/param.h: Remove.
297 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
298 tests/base/sys/limits.h: Update.
300 2004-11-12 Mike Stump <mrs@apple.com>
302 * Makefile.in (html): Add html generation support.
304 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
306 * inclhack.def (sco_math): Bypass on __GNUG__.
307 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
308 * fixincl.x: Regenerate.
310 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
312 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
313 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
315 (sun_auth_proto): Bypass on __cplusplus.
316 * fixincl.x: Regenerate.
318 2004-11-05 Geoffrey Keating <geoffk@apple.com>
320 * Makefile.in (mostlyclean): Add fixinc.sh.
321 (clean): Add mkheaders.
327 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
329 * Makefile.in (mostlyclean, distclean): New targets.
331 2004-11-04 Geoffrey Keating <geoffk@apple.com>
333 * configure.ac: Add code to determine noncanonical_target,
334 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
335 * configure: Regenerate.
336 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
337 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
338 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
339 update for changes to fixinc.in.
340 * Makefile.in: Add many new macros.
341 (install): New target.
342 (mkheaders): New target.
343 (fixinc.sh): New target.
344 (all): Add mkheaders and fixinc.sh.
345 * README-fixinc: Move here from gcc/.
347 2004-11-01 Mike Stump <mrs@apple.com>
349 * inclhack.def (stdio_va_list): Break out clients from here...
350 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
351 included or ifdef va_start.
352 * fixincl.x: Regenerate.
354 2004-10-28 Mike Stump <mrs@apple.com>
356 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
358 * fixincl.x: Regenerate.
360 2004-10-27 Geoffrey Keating <geoffk@apple.com>
362 * inclhack.def (darwin_gcc4_breakage): New.
363 * fixincl.x: Regenerate.
365 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
369 * fixfixes.c (main): Check for _PC_NAME_MAX.
371 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
375 * configure.ac: Fix typo.
376 * configure: Regenerate.
377 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
379 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
383 * fixincl.c (SIGCHLD): Remove definition.
384 (initialize): Remove SIGIOT and SIGPIPE checks.
385 (create_file): Fix mkdir() for Win32.
386 (internal_fix): Use dup2() instead of fcntl().
388 * fixlib.h (SIGQUIT): Define if undefined.
394 * procopen.c (chain_open): Use dup2() instead of fcntl().
396 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
400 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
401 Update copyright year.
402 * fixfixes.c (main): Call initialize_opts from fixopts.c.
403 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
404 do not include code for parsing options (environment vars).
405 (fix_with_system): Use a search path for applyfix, so that you
406 can run the test suite with two-process fixincludes.
407 * fixopts.c: New file.
408 * configure.ac: Add --enable-twoprocess. Export ac_exeext
409 to config.h. Default to --enable-twoprocess for MinGW32.
410 * config.h.in: Regenerate.
411 * configure: Regenerate.
413 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
415 * tests/base/sys/cdefs.h: Update from test area.
417 2004-09-17 Roger Sayle <roger@eyesopen.com>
419 * inclhack.def (linux_ia64_ucontext): New fix.
420 * fixincl.x: Regenerate.
421 * tests/base/sys/ucontext.h: New file.
423 2004-09-15 Roger Sayle <roger@eyesopen.com>
425 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
426 * tests/base/stdlib.h: Likewise.
428 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
430 * inclhack.def (freebsd_gcc4_breakage): Add.
431 * fixincl.x: Regenerate.
432 * tests/base/sys/cdefs.h: Update for new test.
434 2004-09-10 Adam Nemet <anemet@lnxw.com>
436 * inclhack.def (lynx_void_int): Remove.
437 (lynxos_fcntl_proto): Remove.
438 (lynxos_no_warning_in_sys_time_h): New fix.
439 (lynxos_missing_putenv): New fix.
440 * fixincl.x: Regenerate.
441 * tests/base/fcntl.h: Remove.
442 * tests/base/sys/time.h: Update from test area.
443 * tests/base/curses.h: Likewise.
444 * tests/base/stdlib.h: Likewise.
446 2004-09-03 Jan Beulich <jbeulich@novell.com>
448 * inclhack.def: Suppress exception_structure and math_exception
450 * fixincl.x: Regenerate.
452 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
455 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
458 * config.h.in: Generate.
459 * configure: Generate.
461 * fixlib.h: Remove inclusions of gcc files.
464 Other files copied from gcc/fixinc.