I'm writing a simple C compiler for x86 on Linux, and I'd like to use the cdecl calling convention (gcc uses it, and it seems to be pretty common).
However, I can't find any official or definitive documentation. Wikipedia has a description and an example. Raymond Chen has a short summary. I didn't spot anything relevant in the C11 specification either.
Is there canonical documentation for cdecl?