Maybe I'm on the wrong track here. The point of comdat section groups is you can have two object files with code in in the ".text" section which calls the symbol "func()". Each of these object files can have a section group which defines the symbol "func". (Both section groups with the same key symbol). One of the section groups will be chosen by the linker, and BOTH symbols from the ".text" section will be resolved using the symbol in the chosen section group.
That's my understanding of how it is supposed to work. Now my question: If I have a reference to a comdat section in a different section (say a non-loadable section, like say, ".debug_info") will the same rules apply? I have been assuming that non-loadable sections will work the same way. I thought that I had previously verified this, but the error that I am getting makes me want to check again. The error I'm getting seems to be bogus because there are two .o files that define this specific section group, and both supply the symbol that is supposedly not being found. --chris
