RFA: PR 66655: Use COFF/PE weak symbols

Jeff Law law@redhat.com
Tue Jan 5 19:08:00 GMT 2016

On 01/05/2016 04:03 AM, Nick Clifton wrote:
> Hi Jeff,
>> You probably know the capabilities of COFF/PE better than I, so the
>> patch itself is fine.
> Thanks - committed.
>> Is there any way that test can be shoved into our dejagnu testing
>> harness?  I think we've got support somewhere for tests which require
>> multiple input files.
> dg-additional-sources is the command that you are thinking about.
That's it!

> The attached patch adds the test derived from the BZ.  There is one
> small problem - I could not find a way to stop the additional source
> file from being compiled as a test on its own.  When I investigated
> however it seems that is a common problem for all tests that use
> additional source files, so I do not think that it is a big issue.
I think for C++ code it's usually worked around by naming the 
additional-source file with ".cc" rather than .C.  Can you give that a 
quick whirl and see if that avoids having the additional file used as a 
a test on its own?


More information about the Gcc-patches mailing list