1 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
4 Prevent it from running on solaris10 or later.
5 (solaris_once_init_2): Fix comment.
6 * tests/base/pthread.h: Update.
8 * fixincl.x: Regenerate.
10 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12 * inclhack.def (solaris_once_init_2): New fix.
13 * tests/base/pthread.h: Update.
15 * fixincl.x: Regenerate.
17 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19 * inclhack.def (solaris_mutex_init_2): Remove test for
20 PTHREAD_RWLOCK_INITIALIZER.
21 (solaris_rwlock_init_1): New.
22 * tests/base/pthread.h: Update.
24 * inclhack.def (solaris_once_init_1): New.
25 * tests/base/pthread.h: Adjust for new fix.
27 * fixincl.x: Regenerate.
29 2006-07-17 Roger Sayle <roger@eyesopen.com>
31 * tests/base/errno.h: New file.
32 * tests/base/architecture/ppc/math.h: Likewise.
33 * tests/base/ia64/sys/getppdp.h: Likewise.
35 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
38 * Makefile.in (configure, config.h.in): Change into $(srcdir)
39 before autoconf or autoheader call.
41 2006-06-23 Steve Ellcey <sje@cup.hp.com>
44 * inclhack.def (hpux_extern_errno): New.
45 * fixincl.x: Regenerate.
47 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
49 * Makefile.in: Add dvi info html and install-html to .PHONY
50 Add install-html target.
52 2006-05-16 Mike Stump <mrs@apple.com>
54 * configure.ac: Add -Wno-overlength-strings.
55 * configure: Regenerate.
57 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
61 2006-02-18 Steve Ellcey <sje@cup.hp.com>
64 * inclhack.def (hpux_spu_info): New.
65 * fixincl.x: Regenerate
67 2006-01-31 Marcin Dalecki <martin@dalecki.de>
69 * configure.ac: Check for asprintf, basename, vasprintf.
70 * config.h.in: Regenerate.
71 * configure: Regenerate.
73 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
76 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
79 * fixincl.x: Regenerate.
81 2005-11-24 Bruce Korb <bkorb@gnu.org>
83 * fixincl.c (write_replacement): "here strings" in AutoGen
84 often/generally don't have a terminating newline. Check the
87 2005-11-13 Andreas Jaeger <aj@suse.de>
89 * check.tpl: Handle CVS additionally.
91 2005-11-05 Andreas Jaeger <aj@suse.de>
93 * check.tpl: Adopt for move to subversion.
95 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
98 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
100 * fixincl.x: Regenerate.
101 * tests/base/bits/huge_val.h: New file.
103 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
105 * All files: Update with new FSF address.
107 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
109 * Makefile.in (WARN_CFLAGS): New.
110 (.c.o): Add $(WARN_CFLAGS).
111 * aclocal.m4: Include ../config/warnings.m4.
112 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
113 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
114 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
115 * fixopts.c (initialize_opts): Fix old-style definintion.
117 * configure: Regenerate.
119 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
121 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
122 (AAB_darwin7_9_long_double_funcs_2): New.
123 * fixincl.x: Regenerate.
125 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
128 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
129 Use double quotes in select so \t matches tabs.
131 * fixincl.x: Regenerate.
132 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
134 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
137 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
139 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
140 Joseph S. Myers <joseph@codesourcery.com>
144 * inclhack.def: New fixes solaris_math_[1-9].
145 * fixincl.x: Regenerate.
146 * tests/base/iso/math_c99.h: New.
148 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
150 * aclocal.m4: Remove superfluous reference to accross.m4.
152 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
154 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
155 * server.c (load_data): Likewise.
156 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
157 * fixincl.c: #include <sys/wait.h>
158 (run_compiles): Use XCNEWVEC instead of xcalloc.
159 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
160 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
162 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
164 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
165 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
166 * fixincl.x: Regenerate.
168 2005-05-06 Bruce Korb <bkorb@gnu.org>
169 Joseph S. Myers <joseph@codesourcery.com>
171 * fixinc/inclhack.def: Correct backslashes
172 * fixinc/fixincl.x: regen
174 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
176 * system.h (fopen, fdopen, freopen): Define these to the unlocked
179 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
181 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
182 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
183 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
184 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
186 (fwrite_unlocked): Fix prototype.
188 * configure, config.h.in: Regenerate.
190 2005-03-21 Zack Weinberg <zack@codesourcery.com>
192 * Makefile.in: Set gcc_version directly, not via substitution.
193 (libsubdir): Use $(gcc_version), not $(version).
194 (mkheaders.almost): New rule.
195 (mkheaders): Generate from mkheaders.almost.
196 (clean): Also delete mkheaders.almost.
197 * aclocal.m4: Do not include ../config/gcc-version.m4.
198 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
199 mkheaders.almost from mkheaders.in.
200 * configure: Regenerate.
202 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
205 * inclhack.def: Add fix for array of incomplete structures
206 in function prototype in pthread.h.
207 * fixincl.x: Regenerate.
208 * tests/base/pthread.h: Adjust.
210 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
212 * inclhack.def (hpux_htonl): New fix.
213 * tests/base/netinet/in.h: New test.
214 * fixincl.x: Regenerate.
216 2005-02-23 James E Wilson <wilson@specifixinc.com>
218 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
220 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
223 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
226 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
228 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
229 * aclocal.m4: Include ../config/gcc-version.m4.
230 * configure: Regenerate.
232 2004-11-26 Mark Mitchell <mark@codesourcery.com>
234 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
235 (stdio_va_list): Likewise.
236 (stdio_stdarg.h): Likewise.
237 (solaris_stdio_tag): Add bypass.
238 * fixincl.x: Regenerated.
240 2004-11-23 Geoffrey Keating <geoffk@apple.com>
242 * mkfixinc.sh: Check error code from 'cat'. Don't try running
243 built fixincl program.
244 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
247 2004-11-20 Roger Sayle <roger@eyesopen.com>
249 * inclhack.def (alpha_pthread_init): Fix technical problems with
250 the last check-in caused by CVS variable substitution.
251 * fixincl.x: Likewise.
252 * tests/base/pthread.h: Likewise.
254 2004-11-20 Roger Sayle <roger@eyesopen.com>
255 Bruce Korb <bkorb@gnu.org>
257 * inclhack.def (alpha_pthread_init): New fix.
258 * fixincl.x: Regenerate.
259 * tests/base/pthread.h: Update for new test.
261 2004-11-15 Bruce Korb <bkorb@gnu.org>
263 * fixincl.c(fix_with_system): correct misuse of variables and
264 incorrect application of "sizeof()".
266 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
268 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
269 svr4__p, undefine_null): Remove.
270 * fixincl.x: Regenerate.
271 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
272 * tests/base/sys/param.h: Remove.
273 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
274 tests/base/sys/limits.h: Update.
276 2004-11-12 Mike Stump <mrs@apple.com>
278 * Makefile.in (html): Add html generation support.
280 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
282 * inclhack.def (sco_math): Bypass on __GNUG__.
283 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
284 * fixincl.x: Regenerate.
286 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
288 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
289 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
291 (sun_auth_proto): Bypass on __cplusplus.
292 * fixincl.x: Regenerate.
294 2004-11-05 Geoffrey Keating <geoffk@apple.com>
296 * Makefile.in (mostlyclean): Add fixinc.sh.
297 (clean): Add mkheaders.
303 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
305 * Makefile.in (mostlyclean, distclean): New targets.
307 2004-11-04 Geoffrey Keating <geoffk@apple.com>
309 * configure.ac: Add code to determine noncanonical_target,
310 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
311 * configure: Regenerate.
312 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
313 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
314 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
315 update for changes to fixinc.in.
316 * Makefile.in: Add many new macros.
317 (install): New target.
318 (mkheaders): New target.
319 (fixinc.sh): New target.
320 (all): Add mkheaders and fixinc.sh.
321 * README-fixinc: Move here from gcc/.
323 2004-11-01 Mike Stump <mrs@apple.com>
325 * inclhack.def (stdio_va_list): Break out clients from here...
326 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
327 included or ifdef va_start.
328 * fixincl.x: Regenerate.
330 2004-10-28 Mike Stump <mrs@apple.com>
332 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
334 * fixincl.x: Regenerate.
336 2004-10-27 Geoffrey Keating <geoffk@apple.com>
338 * inclhack.def (darwin_gcc4_breakage): New.
339 * fixincl.x: Regenerate.
341 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
345 * fixfixes.c (main): Check for _PC_NAME_MAX.
347 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
351 * configure.ac: Fix typo.
352 * configure: Regenerate.
353 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
355 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
359 * fixincl.c (SIGCHLD): Remove definition.
360 (initialize): Remove SIGIOT and SIGPIPE checks.
361 (create_file): Fix mkdir() for Win32.
362 (internal_fix): Use dup2() instead of fcntl().
364 * fixlib.h (SIGQUIT): Define if undefined.
370 * procopen.c (chain_open): Use dup2() instead of fcntl().
372 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
376 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
377 Update copyright year.
378 * fixfixes.c (main): Call initialize_opts from fixopts.c.
379 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
380 do not include code for parsing options (environment vars).
381 (fix_with_system): Use a search path for applyfix, so that you
382 can run the test suite with two-process fixincludes.
383 * fixopts.c: New file.
384 * configure.ac: Add --enable-twoprocess. Export ac_exeext
385 to config.h. Default to --enable-twoprocess for MinGW32.
386 * config.h.in: Regenerate.
387 * configure: Regenerate.
389 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
391 * tests/base/sys/cdefs.h: Update from test area.
393 2004-09-17 Roger Sayle <roger@eyesopen.com>
395 * inclhack.def (linux_ia64_ucontext): New fix.
396 * fixincl.x: Regenerate.
397 * tests/base/sys/ucontext.h: New file.
399 2004-09-15 Roger Sayle <roger@eyesopen.com>
401 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
402 * tests/base/stdlib.h: Likewise.
404 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
406 * inclhack.def (freebsd_gcc4_breakage): Add.
407 * fixincl.x: Regenerate.
408 * tests/base/sys/cdefs.h: Update for new test.
410 2004-09-10 Adam Nemet <anemet@lnxw.com>
412 * inclhack.def (lynx_void_int): Remove.
413 (lynxos_fcntl_proto): Remove.
414 (lynxos_no_warning_in_sys_time_h): New fix.
415 (lynxos_missing_putenv): New fix.
416 * fixincl.x: Regenerate.
417 * tests/base/fcntl.h: Remove.
418 * tests/base/sys/time.h: Update from test area.
419 * tests/base/curses.h: Likewise.
420 * tests/base/stdlib.h: Likewise.
422 2004-09-03 Jan Beulich <jbeulich@novell.com>
424 * inclhack.def: Suppress exception_structure and math_exception
426 * fixincl.x: Regenerate.
428 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
431 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
434 * config.h.in: Generate.
435 * configure: Generate.
437 * fixlib.h: Remove inclusions of gcc files.
440 Other files copied from gcc/fixinc.