OSDN Git Service

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