OSDN Git Service

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