OSDN Git Service

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