aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc
AgeCommit message (Collapse)AuthorFilesLines
2003-07-14[multiple changes]Nathanael Nerode3-141/+3
2003-07-14 Douglas Rupp <rupp@gnat.com> * fixinc/server.c (server_setup): Don't use non-POSIX NULL first argument to getcwd; use fixed buffer instead. 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org> * fixinc/mkfixinc.sh: Treat OpenBSD normally. * fixinc/fixinc.wrap: Delete. From-SVN: r69339
2003-07-13inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass (for OpenBSD).Nathanael Nerode2-4/+4
* fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass (for OpenBSD). * fixinc/fixincl.x: Rebuild. From-SVN: r69284
2003-07-12inclhack.def (alpha_sbrk): Note that OpenBSD needs this fix.Nathanael Nerode1-0/+1
* fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this fix. From-SVN: r69274
2003-07-12inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in (on OpenBSD).Nathanael Nerode2-6/+13
* fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in (on OpenBSD). From-SVN: r69270
2003-07-12* fixinc/inclhack.def (gnu_types): Improve comment.Nathanael Nerode1-1/+6
From-SVN: r69269
2003-07-11mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.Nathanael Nerode2-8/+1
* fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*. Move i?86-*-interix* to the don't-fix list. * fixinc/fixinc.interix: Delete with extreme prejudice. From-SVN: r69216
2003-07-09inclhack.def (limits_ifndefs): Add select test.Nathanael Nerode2-8/+15
* fixinc/inclhack.def (limits_ifndefs): Add select test. * fixinc/fixincl.x: Rebuild. From-SVN: r69154
2003-07-09inclhack.def (math_exception): Improve bypass and comment.Nathanael Nerode2-5/+6
* fixinc/inclhack.def (math_exception): Improve bypass and comment. * fixinc/fixincl.x: Rebuild. From-SVN: r69151
2003-07-08Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.Zack Weinberg10-6371/+34
* Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies. * fixinc/Makefile.in: Remove all references to gnu-regex.[och]. * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp. * fixinc/fixlib.h: Include xregex.h not gnu-regex.h. * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline): Escape { and } characters which are not part of range expressions. * fixinc/fixincl.x: Regenerate. From-SVN: r69099
2003-07-08mkfixinc.sh: Remove winnt support.Nathanael Nerode2-237/+0
* fixinc/mkfixinc.sh: Remove winnt support. * fixinc/fixinc.winnt: Delete with extreme prejudice. From-SVN: r69070
2003-07-02inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> ↵Rainer Orth2-5/+16
too. * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> too. (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and <internal/wchar_core.h> too. Substitute va_list uses in inline definition. * fixinc/fixincl.x: Regenerate. From-SVN: r68811
2003-06-17alloc-pool.c: Don't check HAVE_LONG_DOUBLE.Kaveh R. Ghazi1-4/+0
gcc: * alloc-pool.c: Don't check HAVE_LONG_DOUBLE. * fixinc/gnu-regex.c: Don't define `volatile'. * ggc-page.c: Don't check HAVE_LONG_DOUBLE. * ggc-simple.c: Likewise. * system.h: Don't define `volatile'. * aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete. * configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't call these macros. * config.in, configure: Regenerated. include: * ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support. From-SVN: r68085
2003-05-28inclhack.def: Add missing declaration of getpagesize() to unistd.h on ↵Eric Botcazou5-6/+153
Solaris 2.5.1. * fixinc/inclhack.def: Add missing declaration of getpagesize() to unistd.h on Solaris 2.5.1. Fix prototype of recv() and send() in sys/socket.h on Solaris 2.5.1 and 2.6. * fixinc/tests/base/unistd.h: Add solaris_unistd fix test. * fixinc/tests/base/sys/socket.h: Add solaris_socket test. * fixinc/check.tpl: Use 'diff -c', not 'diff -u'. * fixinc/fixincl.x: Regenerate. From-SVN: r67206
2003-05-23Makefile.in: Correct description.Nathanael Nerode7-36/+38
2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org> * fixinc/Makefile.in: Correct description. * fixinc/Makefile.in, fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c, fixinc/fixlib.h, fixinc/fixtests.c, fixinc/genfixes: Replace "GNU CC" with "GCC". From-SVN: r67139
2003-05-22re PR other/2873 ([3.3 only][fixinclude] Bogus fixinclude of stdio.h from ↵Zack Weinberg2-13/+40
glibc 2.2.3) PR other/2873 * fixinc/inclhack.def (avoid_wchar_t_type): Add bypass expressions to prevent triggering on recent curses.h, linux/nls.h, or X11/Xlib.h. (stdio_va_list): Add _G_va_list to bypass pattern. (strict_ansi_not): Add bypass pattern for __SCO_VERSION__. * fixinc/fixincl.x: Regenerate. From-SVN: r67090
2003-05-10Properly remove previous patch.Richard Kenner1-8/+0
From-SVN: r66667
2003-05-10defer a mistake until laterBruce Korb1-7/+7
From-SVN: r66666
2003-05-10revert: vxxscale.h, [...]: New files.Richard Kenner2-2/+4
Revert: 2003-05-09 Olivier Hainque <hainque@act-europe.fr> * config/arm/vxxscale.h, config/arm/vxxscale-coff.h: New files. * config/arm/vxxscale-elf.h, config/arm/t-vxxscale-elf: Likewise. * config.gcc (xscale-coff-vxworks, xscale-wrs-vxworks): New new cases. * fixinc/fixinc.copy: New file. * fixinc/mkfixinc.sh (*-vxworks*): New case, using above. From-SVN: r66661
2003-05-09vxxscale.h, [...]: New files.Olivier Hainque2-0/+6
* config/arm/vxxscale.h, config/arm/vxxscale-coff.h: New files. * config/arm/vxxscale-elf.h, config/arm/t-vxxscale-elf: Likewise. * config.gcc (xscale-coff-vxworks, xscale-wrs-vxworks): New new cases. * fixinc/fixinc.copy: New file. * fixinc/mkfixinc.sh (*-vxworks*): New case, using above. From-SVN: r66639
2003-05-07Correct spurious whitespace differencesBruce Korb1-2/+7
From-SVN: r66549
2003-05-03force merge conflicts in fixincl.x + placement fixBruce Korb3-76/+90
From-SVN: r66439
2003-04-22Strip carriage returnsZack Weinberg1-3/+3
From-SVN: r65969
2003-04-19Part 1 of the checkins for the SCO port update.Kean Johnston6-16/+258
Part 1 of the checkins for the SCO port update. This is the fixinclude stuff. From-SVN: r65830
2003-04-15re PR target/10338 ([3.3 regression?] [Cygwin -> tic4x | avr] cross target ↵Kaveh R. Ghazi1-1/+1
compilation error) gcc: PR target/10338 PR bootstrap/10198 PR bootstrap/10140 * fixinc/gnu-regex.c (regerror): Use mempcpy not __mempcpy. libiberty: PR target/10338 PR bootstrap/10198 PR bootstrap/10140 * getopt.c (exchange, _getopt_initialize): Use mempcpy not __mempcpy. * regex.c (regerror): Likewise. From-SVN: r65634
2003-04-11Makefile.in (fixinc.sh): Pass BUILD_LIBERTY as LIBERTY to mkfixinc.sh.Alexandre Oliva1-1/+1
* Makefile.in (fixinc.sh): Pass BUILD_LIBERTY as LIBERTY to mkfixinc.sh. * fixinc/mkfixinc.sh (defs): Add LIBERTY. * configure.in (STMP_FIXINC, STMP_FIXPROTO): Don't disable on build != host sysrooted builds. * configure.in (SYSTEM_HEADER_DIR): Make sure it contains TARGET_SYSTEM_ROOT even on sysrooted natives. * configure: Rebuilt. From-SVN: r65462
2003-04-05Clean up hand edited version with generated versionBruce Korb1-3/+3
From-SVN: r65279
2003-04-04inclhack.def (bsd_stdio_attrs_conflict): New.Loren J. Rittle3-0/+73
* fixinc/inclhack.def (bsd_stdio_attrs_conflict): New. * fixinc/fixincl.x: Rebuilt. * fixinc/tests/base/stdio.h: Regenerated. From-SVN: r65248
2003-03-29Accommodate Solaris 2.5.1 in solaris_mutex_init_1 fixAlbert Chin-A-Young2-6/+7
From-SVN: r65022
2003-03-22fix Solaris 2.6 initializersDJ Delorie5-74/+154
Co-Authored-By: Bruce Korb <bkorb@gnu.org> From-SVN: r64727
2003-03-13fixinc.interix: Remove dead code (most of it).Nathanael Nerode2-386/+0
* fixinc/fixinc.interix: Remove dead code (most of it). * fixinc/fixinc.dgux: Remove. From-SVN: r64292
2003-03-01alphabatize irix___restrictBruce Korb1-18/+18
From-SVN: r63619
2003-03-01Add in the test result from the alpha___extern_prefix hackBruce Korb1-0/+5
From-SVN: r63618
2003-03-01replace hand-edited file with generated versionBruce Korb2-2/+2
From-SVN: r63617
2003-02-26fixincl.x: RegenerateDavid Billinghurst1-3/+3
2003-02-26 David Billinghurst <David.Billinghurst@riotinto.com> * fixinc/fixincl.x: Regenerate From-SVN: r63461
2003-02-24re PR c/5059 (Compiling s/w containing the use of DIR.H fails on other ↵Rainer Orth2-0/+59
stat-calls) * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename __EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX. * doc/extend.texi (Tru64 Pragmas): Reflect this. * fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma extern_prefix support for Tru64 UNIX V5 <sys/stat.h>. * fixinc/fixincl.x: Regenerate. * fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New testcase. Fixes PR c/5059, c/6126, other/9671. testsuite: * g++.dg/other/pragma-ep-1.C: Test for __PRAGMA_EXTERN_PREFIX. * gcc.dg/pragma-ep-1.c: Likewise. From-SVN: r63370
2003-02-19re PR libgcj/9652 (libjava bootstrap failure on irix6.5.1[78])Rainer Orth5-3/+252
* config/mips/iris6.h (TARGET_OS_CPP_BUILTINS): Define __c99 for ISO C99 and C++. * fixinc/inclhack.def (irix___restrict): Don't change __restrict for C++ on IRIX 6.5.1[89]. * fixinc/tests/base/internal/sgimacros.h: New file. * fixinc/inclhack.def (irix_wcsftime): Use XPG5 variant for C99. * fixinc/tests/base/internal/wchar_core.h: New file. * fixinc/inclhack.def (irix_socklen_t): Fix broken IRIX 6.5.1[78] socklen_t definition. * fixinc/fixincl.x: Regenerate. * fixinc/tests/base/sys/socket.h: New file. Fixes PR libgcj/9652. From-SVN: r63123
2003-02-19mark the fixes that fail testing with BSD based sed-sBruce Korb3-6/+6
From-SVN: r63086
2003-02-19reordered fixesBruce Korb1-182/+182
From-SVN: r63085
2003-02-19Sort the fixes by fix nameBruce Korb1-96/+96
From-SVN: r63081
2003-02-18inclhack.def (netbsd_bogus_semicolon): New fix.Krister Walfridsson3-3/+67
2003-02-18 Krister Walfridsson <cato@df.lth.se> * inclhack.def (netbsd_bogus_semicolon): New fix. * fixincl.x: Rebuilt. * tests/base/ctype.h: Update. From-SVN: r63061
2003-02-14inclhack.def (hpux_long_double): Tighten select and add bypass regexp.John David Anglin2-4/+12
* inclhack.def (hpux_long_double): Tighten select and add bypass regexp. * fixincl.x: Rebuilt. From-SVN: r62886
2003-02-11inclhack.def (hpux_long_double, [...]): New hacks.John David Anglin4-3/+383
* inclhack.def (hpux_long_double, hpux10_ctype_declarations1, hpux10_ctype_declarations2, hpux_ctype_macros): New hacks. * fixincl.x: Rebuilt. * tests/base/stdlib.h: Update. * tests/base/ctype.h: New file. From-SVN: r62718
2003-01-23* fixinc/Makefile.in (FL_LIST): Revert last change.Kaveh R. Ghazi1-1/+1
From-SVN: r61655
2003-01-21dwarf2out.c (lookup_filename): Fix printf format warning.Richard Henderson4-15/+21
* dwarf2out.c (lookup_filename): Fix printf format warning. * system.h (fread_unlocked, fwrite_unlocked): Undef. * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook. (fixincl.o-warn, gnu-regex.o-warn): New. * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused. * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise. * fixinc/fixincl.c (process): Fix printf format warning. From-SVN: r61584
2003-01-17fixincl.sh has been editable for several years now...Bruce Korb1-2/+0
From-SVN: r61420
2003-01-17QNX needs a bypass for limits_ifndefsBruce Korb2-4/+8
From-SVN: r61417
2003-01-04When wrapping files, guard with both the fix name and the file nameBruce Korb6-56/+52
From-SVN: r60893
2003-01-04remove obsolete fixesBruce Korb11-1353/+382
From-SVN: r60883
2002-12-16oops.Bruce Korb1-8/+1002
From-SVN: r60178
2002-12-16move inclusion of signal.hBruce Korb3-1089/+95
From-SVN: r60176