inclhack.def (solaris_mutex_init_2): Update for Solaris9.
[gcc.git] / fixincludes / ChangeLog
1 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2
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.
7
8 * fixincl.x: Regenerate.
9
10 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11
12 * inclhack.def (solaris_once_init_2): New fix.
13 * tests/base/pthread.h: Update.
14
15 * fixincl.x: Regenerate.
16
17 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18
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.
23
24 * inclhack.def (solaris_once_init_1): New.
25 * tests/base/pthread.h: Adjust for new fix.
26
27 * fixincl.x: Regenerate.
28
29 2006-07-17 Roger Sayle <roger@eyesopen.com>
30
31 * tests/base/errno.h: New file.
32 * tests/base/architecture/ppc/math.h: Likewise.
33 * tests/base/ia64/sys/getppdp.h: Likewise.
34
35 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
36
37 PR bootstrap/20437
38 * Makefile.in (configure, config.h.in): Change into $(srcdir)
39 before autoconf or autoheader call.
40
41 2006-06-23 Steve Ellcey <sje@cup.hp.com>
42
43 PR target/28084
44 * inclhack.def (hpux_extern_errno): New.
45 * fixincl.x: Regenerate.
46
47 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
48
49 * Makefile.in: Add dvi info html and install-html to .PHONY
50 Add install-html target.
51
52 2006-05-16 Mike Stump <mrs@apple.com>
53
54 * configure.ac: Add -Wno-overlength-strings.
55 * configure: Regenerate.
56
57 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
58
59 * README: Fix typo.
60
61 2006-02-18 Steve Ellcey <sje@cup.hp.com>
62
63 PR target/26189
64 * inclhack.def (hpux_spu_info): New.
65 * fixincl.x: Regenerate
66
67 2006-01-31 Marcin Dalecki <martin@dalecki.de>
68
69 * configure.ac: Check for asprintf, basename, vasprintf.
70 * config.h.in: Regenerate.
71 * configure: Regenerate.
72
73 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
74
75 PR target/15642
76 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
77 __APPLE_CC_ as 1345.
78 (broken_nan): New.
79 * fixincl.x: Regenerate.
80
81 2005-11-24 Bruce Korb <bkorb@gnu.org>
82
83 * fixincl.c (write_replacement): "here strings" in AutoGen
84 often/generally don't have a terminating newline. Check the
85 last byte for '\n'.
86
87 2005-11-13 Andreas Jaeger <aj@suse.de>
88
89 * check.tpl: Handle CVS additionally.
90
91 2005-11-05 Andreas Jaeger <aj@suse.de>
92
93 * check.tpl: Adopt for move to subversion.
94
95 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
96
97 PR c++/23139
98 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
99 fixes.
100 * fixincl.x: Regenerate.
101 * tests/base/bits/huge_val.h: New file.
102
103 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
104
105 * All files: Update with new FSF address.
106
107 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
108
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.
116
117 * configure: Regenerate.
118
119 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
120
121 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
122 (AAB_darwin7_9_long_double_funcs_2): New.
123 * fixincl.x: Regenerate.
124
125 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
126
127 PR libfortran/15266
128 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
129 Use double quotes in select so \t matches tabs.
130 Add IRIX testcase.
131 * fixincl.x: Regenerate.
132 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
133
134 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
135
136 PR target/21683
137 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
138
139 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
140 Joseph S. Myers <joseph@codesourcery.com>
141
142 PR target/19933
143 PR target/21315
144 * inclhack.def: New fixes solaris_math_[1-9].
145 * fixincl.x: Regenerate.
146 * tests/base/iso/math_c99.h: New.
147
148 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
149
150 * aclocal.m4: Remove superfluous reference to accross.m4.
151
152 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
153
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.
161
162 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
163
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.
167
168 2005-05-06 Bruce Korb <bkorb@gnu.org>
169 Joseph S. Myers <joseph@codesourcery.com>
170
171 * fixinc/inclhack.def: Correct backslashes
172 * fixinc/fixincl.x: regen
173
174 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
175
176 * system.h (fopen, fdopen, freopen): Define these to the unlocked
177 libiberty functions.
178
179 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
180
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
185 _unlocked function.
186 (fwrite_unlocked): Fix prototype.
187
188 * configure, config.h.in: Regenerate.
189
190 2005-03-21 Zack Weinberg <zack@codesourcery.com>
191
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.
201
202 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
203
204 PR target/20166
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.
209
210 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
211
212 * inclhack.def (hpux_htonl): New fix.
213 * tests/base/netinet/in.h: New test.
214 * fixincl.x: Regenerate.
215
216 2005-02-23 James E Wilson <wilson@specifixinc.com>
217
218 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
219
220 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
221
222 PR 18458
223 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
224 fixincl.
225
226 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
227
228 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
229 * aclocal.m4: Include ../config/gcc-version.m4.
230 * configure: Regenerate.
231
232 2004-11-26 Mark Mitchell <mark@codesourcery.com>
233
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.
239
240 2004-11-23 Geoffrey Keating <geoffk@apple.com>
241
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
245 up csh from user.
246
247 2004-11-20 Roger Sayle <roger@eyesopen.com>
248
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.
253
254 2004-11-20 Roger Sayle <roger@eyesopen.com>
255 Bruce Korb <bkorb@gnu.org>
256
257 * inclhack.def (alpha_pthread_init): New fix.
258 * fixincl.x: Regenerate.
259 * tests/base/pthread.h: Update for new test.
260
261 2004-11-15 Bruce Korb <bkorb@gnu.org>
262
263 * fixincl.c(fix_with_system): correct misuse of variables and
264 incorrect application of "sizeof()".
265
266 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
267
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.
275
276 2004-11-12 Mike Stump <mrs@apple.com>
277
278 * Makefile.in (html): Add html generation support.
279
280 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
281
282 * inclhack.def (sco_math): Bypass on __GNUG__.
283 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
284 * fixincl.x: Regenerate.
285
286 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
287
288 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
289 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
290 _CLASSIC_ANSI_TYPES.
291 (sun_auth_proto): Bypass on __cplusplus.
292 * fixincl.x: Regenerate.
293
294 2004-11-05 Geoffrey Keating <geoffk@apple.com>
295
296 * Makefile.in (mostlyclean): Add fixinc.sh.
297 (clean): Add mkheaders.
298 (distclean): New.
299 (dvi): New.
300 (info): New.
301 (installcheck): New.
302
303 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
304
305 * Makefile.in (mostlyclean, distclean): New targets.
306
307 2004-11-04 Geoffrey Keating <geoffk@apple.com>
308
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/.
322
323 2004-11-01 Mike Stump <mrs@apple.com>
324
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.
329
330 2004-10-28 Mike Stump <mrs@apple.com>
331
332 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
333 systems.
334 * fixincl.x: Regenerate.
335
336 2004-10-27 Geoffrey Keating <geoffk@apple.com>
337
338 * inclhack.def (darwin_gcc4_breakage): New.
339 * fixincl.x: Regenerate.
340
341 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
342
343 PR bootstrap/17832
344
345 * fixfixes.c (main): Check for _PC_NAME_MAX.
346
347 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
348
349 PR other/17991
350
351 * configure.ac: Fix typo.
352 * configure: Regenerate.
353 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
354
355 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
356
357 PR bootstrap/17832
358
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().
363
364 * fixlib.h (SIGQUIT): Define if undefined.
365 (SIGIOT): Same.
366 (SIGPIPE): Same.
367 (SIGALRM): Same.
368 (SIGKILL): Same.
369
370 * procopen.c (chain_open): Use dup2() instead of fcntl().
371
372 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
373
374 PR other/17991
375
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.
388
389 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
390
391 * tests/base/sys/cdefs.h: Update from test area.
392
393 2004-09-17 Roger Sayle <roger@eyesopen.com>
394
395 * inclhack.def (linux_ia64_ucontext): New fix.
396 * fixincl.x: Regenerate.
397 * tests/base/sys/ucontext.h: New file.
398
399 2004-09-15 Roger Sayle <roger@eyesopen.com>
400
401 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
402 * tests/base/stdlib.h: Likewise.
403
404 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
405
406 * inclhack.def (freebsd_gcc4_breakage): Add.
407 * fixincl.x: Regenerate.
408 * tests/base/sys/cdefs.h: Update for new test.
409
410 2004-09-10 Adam Nemet <anemet@lnxw.com>
411
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.
421
422 2004-09-03 Jan Beulich <jbeulich@novell.com>
423
424 * inclhack.def: Suppress exception_structure and math_exception
425 for NetWare headers.
426 * fixincl.x: Regenerate.
427
428 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
429
430 * .cvsignore: New.
431 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
432 autoconfiscated.
433 * configure.ac: New.
434 * config.h.in: Generate.
435 * configure: Generate.
436 * aclocal.m4: New.
437 * fixlib.h: Remove inclusions of gcc files.
438 * system.h: New.
439
440 Other files copied from gcc/fixinc.