From d6072d3703df0bce6ee12b24546ba796303af1fd Mon Sep 17 00:00:00 2001 From: Shinichiro Hamaji Date: Mon, 1 Dec 2008 01:51:34 +0900 Subject: Add __builtin_frame_address(0) Adding the GCC extension __builtin_frame_address(). We support only zero as the argument for now. With this functionality, we can implement GCC compatible stdarg by macros in x86-64. --- tcctok.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tcctok.h') diff --git a/tcctok.h b/tcctok.h index d717024..ef7bf7a 100644 --- a/tcctok.h +++ b/tcctok.h @@ -109,6 +109,7 @@ DEF(TOK_NORETURN2, "__noreturn__") DEF(TOK_builtin_types_compatible_p, "__builtin_types_compatible_p") DEF(TOK_builtin_constant_p, "__builtin_constant_p") + DEF(TOK_builtin_frame_address, "__builtin_frame_address") DEF(TOK_REGPARM1, "regparm") DEF(TOK_REGPARM2, "__regparm__") -- cgit v1.3.1