OSDN Git Service

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