diff --git a/tcc-doc.texi b/tcc-doc.texi index ee1a9cf..364d9cd 100644 --- a/tcc-doc.texi +++ b/tcc-doc.texi @@ -145,6 +145,11 @@ function attributes. The following attributes are supported: of the default section.
  • unused: specify that the variable or the function is unused. + +
  • cdecl: use standard C calling convention. + +
  • stdcall: use Pascal-like calling convention. +
    Here are some examples: @@ -279,8 +284,8 @@ usage: tcc [-Idir] [-Dsym[=val]] [-Usym] [-llib] [-g] [-b] /usr/include, /usr/lib/tcc, /usr/local/lib/tcc. '-Dsym[=val]' Define preprocessor symbol 'sym' to -val. If val is not present, its value is '1'. NOTE: currently, only -integer and strings are supported as values +val. If val is not present, its value is '1'. Function-like macros can +also be defined: '-DF(a)=a+1' '-Usym' Undefine preprocessor symbol 'sym'.