diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2002-10-24 23:22:47 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2002-10-24 23:22:47 +0000 |
commit | a7475ab1fda69ace56d43f00b6596d89b171ac47 (patch) | |
tree | c098cf6e60630c4d3fadad87bad8fc881556388b /gcc/fixinc/inclhack.def | |
parent | 7a360cce0952500d0cd171ef99105f118227c814 (diff) | |
download | gcc-a7475ab1fda69ace56d43f00b6596d89b171ac47.zip gcc-a7475ab1fda69ace56d43f00b6596d89b171ac47.tar.gz gcc-a7475ab1fda69ace56d43f00b6596d89b171ac47.tar.bz2 |
inclhack.def (libc1_G_va_list): New fix.
* fixinc/inclhack.def (libc1_G_va_list): New fix.
* fixinc/fixincl.x: Regenerate.
* config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
ifndef IN_LIBGCC2. Wrap it together with signal.h and
sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
* configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
* config.in, configure: Regenerate.
From-SVN: r58510
Diffstat (limited to 'gcc/fixinc/inclhack.def')
-rw-r--r-- | gcc/fixinc/inclhack.def | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 787bcb7..b102a79 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -1519,6 +1519,21 @@ fix = { /* + * Fix libc1 _G_va_list definition, used in declarations of several + * more-or-less standard functions, for example vasprintf. + */ +fix = { + hackname = libc1_G_va_list; + files = _G_config.h; + mach = '*-*-linux*libc1'; + select = 'typedef void \* _G_va_list;'; + c_fix = format; + c_fix_arg = "typedef __builtin_va_list _G_va_list;"; + test_text = 'typedef __builtin_va_list _G_va_list;'; +}; + + +/* * In limits.h, put #ifndefs around things that are supposed to be defined * in float.h to avoid redefinition errors if float.h is included first. * On HP/UX this patch does not work, because on HP/UX limits.h uses |