Forgot to delete these during yesterdays commit.
[gcc.git] / fixincludes / ChangeLog
1 2007-06-06 Steve Ellcey <sje@cup.hp.com>
2
3 PR testsuite/31828
4 * inclhack.def (hppa_hpux_fp_macros): New.
5 * fixincl.x: Regenerate.
6 * tests/base/math.h: Update.
7
8 2007-03-26 Jakub Jelinek <jakub@redhat.com>
9
10 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
11 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
12 __STDC_VERSION__ < 199901L.
13 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
14 with #ifdef __GNUC_GNU_INLINE__.
15 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
16 with defined(__GNUC_STDC_INLINE__).
17 (glibc_c99_inline_4): Change select, add second c_fix_arg.
18 Replace #if __STDC_VERSION__ < 199901L with
19 #ifdef __GNUC_GNU_INLINE__.
20 * fixincl.x: Regenerated.
21 * tests/base/bits/string2.h: Update.
22 * tests/base/sys/sysmacros.h: Update.
23 * tests/base/sys/stat.h: Update.
24
25 2007-03-18 Krister Walfridsson <cato@df.lth.se>
26
27 PR target/30058
28 * inclhack.def (netbsd_c99_inline_1): New.
29 * fixincl.x: Regenerate.
30 * tests/base/signal.h: New.
31
32 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
33
34 * Makefile.in: Add dummy "install-info" target.
35
36 2007-03-06 Joseph Myers <joseph@codesourcery.com>
37
38 * mkheaders.in: Fix headers for each multilib required.
39
40 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
41
42 * Makefile.in: Add dummy install-pdf target.
43
44 2007-02-27 Joseph Myers <joseph@codesourcery.com>
45
46 * mkheaders.in (incdir): Use include-fixed not include.
47
48 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
49
50 * Makefile.in: Added "pdf" target to .PHONY.
51
52 2007-02-05 Richard Guenther <rguenther@suse.de>
53
54 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
55 with older glibc. Adjust version number for C99.
56 * fixincl.x: Regenerated.
57
58 2007-02-04 Mike Stump <mrs@apple.com>
59
60 * mkheaders.in: Allow optional isysroot parameter.
61
62 2007-02-03 Bruce Korb <bkorb@gnu.org>
63
64 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
65 surrounded by space characters.
66
67 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
68
69 PR target/30272
70 * inclhack.def(broken_cabs): Also remove definition of cabsl.
71 * fixincl.x: Regenerate.
72 * tests/base/math.h: Update.
73
74 2007-01-05 Bruce Korb <bkorb@gnu.org>,
75 Daniel Franke <franke.daniel@gmail.com>
76
77 PR target/30008
78 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
79 of a vertical bar ("|").
80 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
81 matching. Set SKIP_TEST flag if we are not to run a test.
82 * fixincl.x: Regenerate.
83 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
84 kandr_concat, sco_math): Replace lists of specfic file names by search
85 patterns.
86
87 2006-12-12 Olivier Hainque <hainque@adacore.com>
88
89 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
90 targets for which a no-op fixer is appropriate.
91
92 2006-11-07 Richard Guenther <rguenther@suse.de>
93
94 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
95 systems.
96 * fixincl.x: Regenerate.
97
98 2006-11-02 Geoffrey Keating <geoffk@apple.com>
99
100 * inclhack.def (glibc_c99_inline_1): New.
101 * inclhack.def (glibc_c99_inline_2): New.
102 * inclhack.def (glibc_c99_inline_3): New.
103 * inclhack.def (glibc_c99_inline_4): New.
104 * fixincl.x: Regenerate.
105 * tests/base/bits/string2.h: New.
106 * tests/base/sys/sysmacros.h: New.
107 * tests/base/sys/stat.h: Update.
108
109 2006-11-01 Steve Ellcey <sje@cup.hp.com>
110
111 * tests/base/sys/socket.h: Update.
112
113 2006-10-31 Steve Ellcey <sje@cup.hp.com>
114
115 * inclhack.def (hpux11_extern_sendfile): New.
116 (hpux11_extern_sendpath): New.
117 * fixincl.x: Regenerate.
118
119 2006-10-29 Joseph Myers <joseph@codesourcery.com>
120
121 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
122 * fixincl.x: Regenerate.
123
124 2006-10-10 Brooks Moses <bmoses@stanford.edu>
125
126 * Makefile.in: Added empty "pdf" target.
127
128 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
129
130 PR target/29300
131 * inclhack.def (hpux_pthread_initializers): New hack.
132 * tests/base/sys/pthread.h: New file.
133
134 * fixincl.x: Regenerate.
135
136 2006-10-03 Uros Bizjak <uros@kss-loka.si>
137
138 * inclhack.def (glibc_mutex_init): Also fix
139 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
140 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
141 * tests/base/pthread.h: Update.
142
143 * fixincl.x: Regenerate.
144
145 2006-10-01 Uros Bizjak <uros@kss-loka.si>
146
147 * inclhack.def (glibc_mutex_init): New fix.
148 * tests/base/pthread.h: Update.
149
150 * fixincl.x: Regenerate.
151
152 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
153
154 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
155 Prevent it from running on solaris10 or later.
156 (solaris_once_init_2): Fix comment.
157 * tests/base/pthread.h: Update.
158
159 * fixincl.x: Regenerate.
160
161 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
162
163 * inclhack.def (solaris_once_init_2): New fix.
164 * tests/base/pthread.h: Update.
165
166 * fixincl.x: Regenerate.
167
168 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
169
170 * inclhack.def (solaris_mutex_init_2): Remove test for
171 PTHREAD_RWLOCK_INITIALIZER.
172 (solaris_rwlock_init_1): New.
173 * tests/base/pthread.h: Update.
174
175 * inclhack.def (solaris_once_init_1): New.
176 * tests/base/pthread.h: Adjust for new fix.
177
178 * fixincl.x: Regenerate.
179
180 2006-07-17 Roger Sayle <roger@eyesopen.com>
181
182 * tests/base/errno.h: New file.
183 * tests/base/architecture/ppc/math.h: Likewise.
184 * tests/base/ia64/sys/getppdp.h: Likewise.
185
186 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
187
188 PR bootstrap/20437
189 * Makefile.in (configure, config.h.in): Change into $(srcdir)
190 before autoconf or autoheader call.
191
192 2006-06-23 Steve Ellcey <sje@cup.hp.com>
193
194 PR target/28084
195 * inclhack.def (hpux_extern_errno): New.
196 * fixincl.x: Regenerate.
197
198 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
199
200 * Makefile.in: Add dvi info html and install-html to .PHONY
201 Add install-html target.
202
203 2006-05-16 Mike Stump <mrs@apple.com>
204
205 * configure.ac: Add -Wno-overlength-strings.
206 * configure: Regenerate.
207
208 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
209
210 * README: Fix typo.
211
212 2006-02-18 Steve Ellcey <sje@cup.hp.com>
213
214 PR target/26189
215 * inclhack.def (hpux_spu_info): New.
216 * fixincl.x: Regenerate
217
218 2006-01-31 Marcin Dalecki <martin@dalecki.de>
219
220 * configure.ac: Check for asprintf, basename, vasprintf.
221 * config.h.in: Regenerate.
222 * configure: Regenerate.
223
224 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
225
226 PR target/15642
227 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
228 __APPLE_CC_ as 1345.
229 (broken_nan): New.
230 * fixincl.x: Regenerate.
231
232 2005-11-24 Bruce Korb <bkorb@gnu.org>
233
234 * fixincl.c (write_replacement): "here strings" in AutoGen
235 often/generally don't have a terminating newline. Check the
236 last byte for '\n'.
237
238 2005-11-13 Andreas Jaeger <aj@suse.de>
239
240 * check.tpl: Handle CVS additionally.
241
242 2005-11-05 Andreas Jaeger <aj@suse.de>
243
244 * check.tpl: Adopt for move to subversion.
245
246 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
247
248 PR c++/23139
249 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
250 fixes.
251 * fixincl.x: Regenerate.
252 * tests/base/bits/huge_val.h: New file.
253
254 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
255
256 * All files: Update with new FSF address.
257
258 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
259
260 * Makefile.in (WARN_CFLAGS): New.
261 (.c.o): Add $(WARN_CFLAGS).
262 * aclocal.m4: Include ../config/warnings.m4.
263 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
264 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
265 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
266 * fixopts.c (initialize_opts): Fix old-style definintion.
267
268 * configure: Regenerate.
269
270 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
271
272 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
273 (AAB_darwin7_9_long_double_funcs_2): New.
274 * fixincl.x: Regenerate.
275
276 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
277
278 PR libfortran/15266
279 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
280 Use double quotes in select so \t matches tabs.
281 Add IRIX testcase.
282 * fixincl.x: Regenerate.
283 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
284
285 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
286
287 PR target/21683
288 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
289
290 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
291 Joseph S. Myers <joseph@codesourcery.com>
292
293 PR target/19933
294 PR target/21315
295 * inclhack.def: New fixes solaris_math_[1-9].
296 * fixincl.x: Regenerate.
297 * tests/base/iso/math_c99.h: New.
298
299 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
300
301 * aclocal.m4: Remove superfluous reference to accross.m4.
302
303 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
304
305 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
306 * server.c (load_data): Likewise.
307 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
308 * fixincl.c: #include <sys/wait.h>
309 (run_compiles): Use XCNEWVEC instead of xcalloc.
310 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
311 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
312
313 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
314
315 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
316 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
317 * fixincl.x: Regenerate.
318
319 2005-05-06 Bruce Korb <bkorb@gnu.org>
320 Joseph S. Myers <joseph@codesourcery.com>
321
322 * fixinc/inclhack.def: Correct backslashes
323 * fixinc/fixincl.x: regen
324
325 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
326
327 * system.h (fopen, fdopen, freopen): Define these to the unlocked
328 libiberty functions.
329
330 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
331
332 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
333 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
334 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
335 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
336 _unlocked function.
337 (fwrite_unlocked): Fix prototype.
338
339 * configure, config.h.in: Regenerate.
340
341 2005-03-21 Zack Weinberg <zack@codesourcery.com>
342
343 * Makefile.in: Set gcc_version directly, not via substitution.
344 (libsubdir): Use $(gcc_version), not $(version).
345 (mkheaders.almost): New rule.
346 (mkheaders): Generate from mkheaders.almost.
347 (clean): Also delete mkheaders.almost.
348 * aclocal.m4: Do not include ../config/gcc-version.m4.
349 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
350 mkheaders.almost from mkheaders.in.
351 * configure: Regenerate.
352
353 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
354
355 PR target/20166
356 * inclhack.def: Add fix for array of incomplete structures
357 in function prototype in pthread.h.
358 * fixincl.x: Regenerate.
359 * tests/base/pthread.h: Adjust.
360
361 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
362
363 * inclhack.def (hpux_htonl): New fix.
364 * tests/base/netinet/in.h: New test.
365 * fixincl.x: Regenerate.
366
367 2005-02-23 James E Wilson <wilson@specifixinc.com>
368
369 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
370
371 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
372
373 PR 18458
374 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
375 fixincl.
376
377 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
378
379 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
380 * aclocal.m4: Include ../config/gcc-version.m4.
381 * configure: Regenerate.
382
383 2004-11-26 Mark Mitchell <mark@codesourcery.com>
384
385 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
386 (stdio_va_list): Likewise.
387 (stdio_stdarg.h): Likewise.
388 (solaris_stdio_tag): Add bypass.
389 * fixincl.x: Regenerated.
390
391 2004-11-23 Geoffrey Keating <geoffk@apple.com>
392
393 * mkfixinc.sh: Check error code from 'cat'. Don't try running
394 built fixincl program.
395 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
396 up csh from user.
397
398 2004-11-20 Roger Sayle <roger@eyesopen.com>
399
400 * inclhack.def (alpha_pthread_init): Fix technical problems with
401 the last check-in caused by CVS variable substitution.
402 * fixincl.x: Likewise.
403 * tests/base/pthread.h: Likewise.
404
405 2004-11-20 Roger Sayle <roger@eyesopen.com>
406 Bruce Korb <bkorb@gnu.org>
407
408 * inclhack.def (alpha_pthread_init): New fix.
409 * fixincl.x: Regenerate.
410 * tests/base/pthread.h: Update for new test.
411
412 2004-11-15 Bruce Korb <bkorb@gnu.org>
413
414 * fixincl.c(fix_with_system): correct misuse of variables and
415 incorrect application of "sizeof()".
416
417 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
418
419 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
420 svr4__p, undefine_null): Remove.
421 * fixincl.x: Regenerate.
422 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
423 * tests/base/sys/param.h: Remove.
424 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
425 tests/base/sys/limits.h: Update.
426
427 2004-11-12 Mike Stump <mrs@apple.com>
428
429 * Makefile.in (html): Add html generation support.
430
431 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
432
433 * inclhack.def (sco_math): Bypass on __GNUG__.
434 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
435 * fixincl.x: Regenerate.
436
437 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
438
439 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
440 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
441 _CLASSIC_ANSI_TYPES.
442 (sun_auth_proto): Bypass on __cplusplus.
443 * fixincl.x: Regenerate.
444
445 2004-11-05 Geoffrey Keating <geoffk@apple.com>
446
447 * Makefile.in (mostlyclean): Add fixinc.sh.
448 (clean): Add mkheaders.
449 (distclean): New.
450 (dvi): New.
451 (info): New.
452 (installcheck): New.
453
454 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
455
456 * Makefile.in (mostlyclean, distclean): New targets.
457
458 2004-11-04 Geoffrey Keating <geoffk@apple.com>
459
460 * configure.ac: Add code to determine noncanonical_target,
461 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
462 * configure: Regenerate.
463 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
464 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
465 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
466 update for changes to fixinc.in.
467 * Makefile.in: Add many new macros.
468 (install): New target.
469 (mkheaders): New target.
470 (fixinc.sh): New target.
471 (all): Add mkheaders and fixinc.sh.
472 * README-fixinc: Move here from gcc/.
473
474 2004-11-01 Mike Stump <mrs@apple.com>
475
476 * inclhack.def (stdio_va_list): Break out clients from here...
477 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
478 included or ifdef va_start.
479 * fixincl.x: Regenerate.
480
481 2004-10-28 Mike Stump <mrs@apple.com>
482
483 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
484 systems.
485 * fixincl.x: Regenerate.
486
487 2004-10-27 Geoffrey Keating <geoffk@apple.com>
488
489 * inclhack.def (darwin_gcc4_breakage): New.
490 * fixincl.x: Regenerate.
491
492 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
493
494 PR bootstrap/17832
495
496 * fixfixes.c (main): Check for _PC_NAME_MAX.
497
498 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
499
500 PR other/17991
501
502 * configure.ac: Fix typo.
503 * configure: Regenerate.
504 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
505
506 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
507
508 PR bootstrap/17832
509
510 * fixincl.c (SIGCHLD): Remove definition.
511 (initialize): Remove SIGIOT and SIGPIPE checks.
512 (create_file): Fix mkdir() for Win32.
513 (internal_fix): Use dup2() instead of fcntl().
514
515 * fixlib.h (SIGQUIT): Define if undefined.
516 (SIGIOT): Same.
517 (SIGPIPE): Same.
518 (SIGALRM): Same.
519 (SIGKILL): Same.
520
521 * procopen.c (chain_open): Use dup2() instead of fcntl().
522
523 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
524
525 PR other/17991
526
527 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
528 Update copyright year.
529 * fixfixes.c (main): Call initialize_opts from fixopts.c.
530 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
531 do not include code for parsing options (environment vars).
532 (fix_with_system): Use a search path for applyfix, so that you
533 can run the test suite with two-process fixincludes.
534 * fixopts.c: New file.
535 * configure.ac: Add --enable-twoprocess. Export ac_exeext
536 to config.h. Default to --enable-twoprocess for MinGW32.
537 * config.h.in: Regenerate.
538 * configure: Regenerate.
539
540 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
541
542 * tests/base/sys/cdefs.h: Update from test area.
543
544 2004-09-17 Roger Sayle <roger@eyesopen.com>
545
546 * inclhack.def (linux_ia64_ucontext): New fix.
547 * fixincl.x: Regenerate.
548 * tests/base/sys/ucontext.h: New file.
549
550 2004-09-15 Roger Sayle <roger@eyesopen.com>
551
552 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
553 * tests/base/stdlib.h: Likewise.
554
555 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
556
557 * inclhack.def (freebsd_gcc4_breakage): Add.
558 * fixincl.x: Regenerate.
559 * tests/base/sys/cdefs.h: Update for new test.
560
561 2004-09-10 Adam Nemet <anemet@lnxw.com>
562
563 * inclhack.def (lynx_void_int): Remove.
564 (lynxos_fcntl_proto): Remove.
565 (lynxos_no_warning_in_sys_time_h): New fix.
566 (lynxos_missing_putenv): New fix.
567 * fixincl.x: Regenerate.
568 * tests/base/fcntl.h: Remove.
569 * tests/base/sys/time.h: Update from test area.
570 * tests/base/curses.h: Likewise.
571 * tests/base/stdlib.h: Likewise.
572
573 2004-09-03 Jan Beulich <jbeulich@novell.com>
574
575 * inclhack.def: Suppress exception_structure and math_exception
576 for NetWare headers.
577 * fixincl.x: Regenerate.
578
579 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
580
581 * .cvsignore: New.
582 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
583 autoconfiscated.
584 * configure.ac: New.
585 * config.h.in: Generate.
586 * configure: Generate.
587 * aclocal.m4: New.
588 * fixlib.h: Remove inclusions of gcc files.
589 * system.h: New.
590
591 Other files copied from gcc/fixinc.