Commit Graph

177 Commits

Author SHA1 Message Date
Richard Kenner
92c874f7d7 (va_arg): Don't assume __va_rounded_size (char) has the value of 4.
From-SVN: r9550
1995-04-30 08:11:09 -04:00
Richard Kenner
b095754a73 Treat _MACHINE_ANSI_H_ like _ANSI_H_.
From-SVN: r9490
1995-04-26 18:04:28 -04:00
Jason Merrill
7644b152a6 Reorganize va_arg
From-SVN: r9387
1995-04-14 23:44:01 +00:00
Richard Kenner
0f2101cc28 Clean up code that defines *DEFINED* symbols.
From-SVN: r9376
1995-04-13 08:50:20 -04:00
Doug Evans
70e1449a37 va-i960.h (varargs va_start): Save g14 explicitly.
* ginclude/va-i960.h (varargs va_start): Save g14 explicitly.
	Account for arguments preceding va_alist.

From-SVN: r9227
1995-03-23 02:42:02 +00:00
Ian Lance Taylor
3d356a8c3e Handle VxWorks typedef macros
From-SVN: r9121
1995-03-03 17:11:06 +00:00
Jim Wilson
ed73e9f119 (va_end): Expand to a void expression instead of nothing.
From-SVN: r9074
1995-02-24 18:35:35 -08:00
Jim Wilson
ce4b43f74b *** empty log message ***
From-SVN: r9073
1995-02-24 18:34:27 -08:00
Richard Kenner
a2a8c03cad Test _SIZE_T_DEFINED and _WCHAR_T_DEFINED.
From-SVN: r9015
1995-02-21 18:53:57 -05:00
Richard Kenner
c4f0e4979f Test _VA_LIST_DEFINED macro.
From-SVN: r9014
1995-02-21 18:53:15 -05:00
Richard Kenner
a07190d44a Initial revision
From-SVN: r8987
1995-02-21 08:15:01 -05:00
Jim Wilson
a343d37151 (va_start): Add __builtin_next_arg call.
From-SVN: r8877
1995-02-06 12:22:23 -08:00
Jim Wilson
c311f311c4 (*): Change __mips==3 to __mips>=3.
(sgidefs.h): Include if _MIPS_SIM is defined.
(va_start): Add support for 64 bit ABI.

From-SVN: r8860
1995-02-04 09:53:44 -08:00
Jim Wilson
1139214669 (va_arg, mips3 case): Use __PTRDIFF_TYPE__ not int in casts.
From-SVN: r8716
1995-01-03 12:23:25 -08:00
Richard Kenner
ad6c5fa997 (__va_rounded_size): Delete.
(__va_round): Args have at least PARM_BOUNDARY (=32) alignment.

From-SVN: r8688
1994-12-21 15:56:01 -05:00
Ian Lance Taylor
bcc5d5d23c Add comment about last change, in accordance with copyright.
From-SVN: r8677
1994-12-21 00:52:24 +00:00
Richard Kenner
ec2c907ae8 Include <machine/ansi.h> on NetBSD.
Check for _BSD_XXX_T_ as well as _XXX_T_.
Add _BSD_XXX_T_ to list of defines to check and define for a given
type for SIZE_T, PTRDIFF_T, and WCHAR_T.

From-SVN: r8489
1994-11-17 17:25:58 -05:00
Richard Kenner
1f21a9799f (va_arg): Add cast to void * to suppress warning.
From-SVN: r8411
1994-11-10 17:55:03 -05:00
Jim Wilson
086675cba3 (va_start): Use builtin_arts_info instead of builtin_next_arg.
From-SVN: r8320
1994-10-20 13:12:14 -07:00
Jim Wilson
ce883c1f84 (va_arg): Add little endian mips3 support.
From-SVN: r8296
1994-10-17 16:29:38 -07:00
Doug Evans
a16301244f Netware uses _SIZE_T_DEFINED_, _WCHAR_T_DEFINED_.
From-SVN: r8242
1994-10-07 23:27:46 +00:00
Ian Lance Taylor
81ffc0455f Make the functions extern inline rather than static inline
From-SVN: r8024
1994-09-05 21:25:11 +00:00
Jim Wilson
67c87d4287 (va_start): Add cast to __gnuc_va_list type.
From-SVN: r7922
1994-08-14 16:03:47 -07:00
Doug Evans
8469d2903b (v9 va_start): Pass an arg to __builtin_next_arg.
(v9 va_arg): Advance over float's.

From-SVN: r7856
1994-08-04 01:36:07 +00:00
Richard Kenner
73c8c157ad Handle _BSD_WCHAR_T_ like _WCHAR_T_, since at least BSD/386 1.1 uses the former instead of the latter.
Handle _BSD_WCHAR_T_ like _WCHAR_T_, since at least BSD/386 1.1 uses
the former instead of the latter.  If _BSD_RUNE_T_ is defined, then
define rune_t when we define wchar_t.  Test definedness of _GCC_SIZE_T
as well as _GCC_SIZE_T_; likewise for _GCC_PTRDIFF_T and _GCC_WCHAR_T.

From-SVN: r7844
1994-08-01 18:52:34 -04:00
Jim Wilson
971ba70d62 Delete include of <varargs.h> when not gcc.
From-SVN: r7692
1994-07-08 19:06:27 -07:00
Jim Wilson
40620dcc93 Delete include of <stdarg.h> when not gcc.
From-SVN: r7691
1994-07-08 19:05:51 -07:00
Doug Evans
5ca018b4e5 Add v9 support.
From-SVN: r7483
1994-06-15 07:43:31 +00:00
Richard Kenner
6c68c4abdd Recognize __FreeBSD__.
From-SVN: r7153
1994-04-25 14:22:17 -04:00
Richard Kenner
bc97bfd804 Add ... to set current_function_varargs.
From-SVN: r6987
1994-04-06 07:51:24 -04:00
Richard Kenner
e9de0fec0f Round to multiple of sizeof(short) on sysV68.
From-SVN: r6972
1994-04-06 06:51:28 -04:00
Jason Merrill
3ff2f6ea9b * gstddef.h (wchar_t): Always define as __WCHAR_TYPE__.
From-SVN: r6962
1994-04-04 21:21:02 +00:00
Jim Wilson
a20dcf46c0 (va_start): Add call to builtin_next_arg.
From-SVN: r6856
1994-03-23 14:20:35 -08:00
Jim Wilson
117aea7ad8 (va_start): Pass LASTARG as a parameter to
builtin_next_arg.

From-SVN: r6855
1994-03-23 14:19:23 -08:00
Doug Evans
9d891e9a7e Don't define _STDARG_H/etc. if not gcc, it may collide with system's header.
From-SVN: r6527
1994-02-11 21:03:09 +00:00
Jim Wilson
33a3539d43 Add 64 bit support.
From-SVN: r6394
1994-01-13 15:54:09 -08:00
Richard Kenner
ec044cecc2 Define and protect against __STDDEF_H__ for Irix 5.1.
From-SVN: r6184
1993-12-03 06:48:21 -05:00
Richard Stallman
116c9aab44 Test __bsdi__ like __BSD_NET2__.
From-SVN: r6093
1993-11-15 02:08:56 +00:00
Richard Stallman
115d1e8ec7 Treat __PARAGON__ like __SVR4__.
(va_dcl) [__PARAGON__]: Declare va_alist.

From-SVN: r5908
1993-10-26 23:30:07 +00:00
Richard Stallman
237157dc44 [__i860__]: Add to little-endian conditional.
From-SVN: r5906
1993-10-26 23:29:24 +00:00
Richard Kenner
550549f2a8 (_VA_LIST_): Define.
From-SVN: r5785
1993-10-13 18:24:50 -04:00
Doug Evans
c9646177c9 Fix typo.
From-SVN: r5768
1993-10-13 01:30:08 +00:00
Richard Stallman
c8cdb42bc6 Test __sequent__ like __BSD_NET2__.
From-SVN: r5556
1993-10-02 02:11:53 +00:00
Jim Wilson
6396c3f61c (HUGE_VAL): Add #undef before HUGE_VAL
define, instead of surrounding it with #ifndef/#endif.

From-SVN: r5508
1993-09-28 15:40:30 -07:00
Doug Evans
da38c875b4 gstddef.h: Back out change of Sep 15 (handles Sun lossage).
Prevented bootstrapping.

From-SVN: r5372
1993-09-20 19:24:39 +00:00
Richard Kenner
de9f6f432f (size_t): Acorn RISCiX requires __size_t defined.
From-SVN: r5357
1993-09-19 09:44:59 -04:00
Richard Stallman
8e1404b384 Delete the conditional that used to semi-avoid interference with sys/stdtypes.h on Sun.
Delete the conditional that used to semi-avoid
interference with sys/stdtypes.h on Sun.  (fixincludes makes it ok.)

From-SVN: r5332
1993-09-15 21:39:20 +00:00
Doug Evans
a11e44af0b Initial revision
From-SVN: r5216
1993-08-26 21:57:10 +00:00
Doug Evans
0b2c164809 add h8/300h support
From-SVN: r5215
1993-08-26 21:57:10 +00:00
Richard Stallman
fda59a9a3f Test and define __INT_WCHAR_T_H.
From-SVN: r5085
1993-08-06 05:58:10 +00:00