OSDN Git Service

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