[cxx-abi-dev] Document gcc's use of the C5/D5 comdats

Rafael Espíndola rafael.espindola at gmail.com
Fri Sep 12 21:47:27 UTC 2014


The attached patch updates the ABI to document how gcc uses the C5 and
D5 comdats to group constructors and destructors. The hope is that by
documenting it other implementations can use it too, reducing binary
bloat when gcc compiled objects are mixed with objects compiled by
some other compiler

Given how comdats work I worded the change to say that an
implementation can choose to group the constructors and destructors,
but if it chooses to use C5/D5, then it must put the same symbols in
them as gcc does.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: comdat.patch
Type: text/x-patch
Size: 2117 bytes
Desc: not available
URL: <http://sourcerytools.com/pipermail/cxx-abi-dev/attachments/20140912/29a33aeb/attachment.bin>


More information about the cxx-abi-dev mailing list