OSDN Git Service

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