OSDN Git Service

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