On 6 January 2016 at 23:19, Jim Blandy wrote: > I've been looking for an authoritative statement about the default ABI that > GCC uses for C++ on x86. Two questions: > > 1) It's my understanding that GCC uses the Itanium C++ ABI, adapted for > 32-bit architectures as suggested in its introduction, for C on x86. Is > this so? I don't think that's right. For C the psABI is used. That might be aligned with the Itanium ABI in places, but that doesn't mean the Itanium ABI is what is followed. Maybe I'm wrong though, I only really know about the C++ ABI. > 2) Is this choice documented somewhere authoritative? I expected the > LSB to be the authority here, but it a) seems to be being abandoned > (Debian backed away from it this September), and b) only > cites the SysV i386 supplement, which predates C99 and things like bool. The official psABI may not be current, but it's still maintained via an unofficial fork, see https://github.com/hjl-tools/x86-psABI/wiki for links to more info.