This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch testsuite/darwin] fix PR testsuite/51059
- From: Mike Stump <mikestump at comcast dot net>
- To: Iain Sandoe <developer at sandoe-acoustics dot co dot uk>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Mike Stump <mrs at gcc dot gnu dot org>
- Date: Fri, 11 Nov 2011 13:06:56 -0800
- Subject: Re: [Patch testsuite/darwin] fix PR testsuite/51059
- References: <5C7640DD-1BEF-4877-AAB8-44279750FAB0@sandoe-acoustics.co.uk>
On Nov 11, 2011, at 12:26 PM, Iain Sandoe wrote:
> This probably qualifies as obvious - but having discussed some of the background with Mike ..
> .. there are other ways of solving the problem - although probably rather heavy-weight for this problem.
>
> .. So, I'll let him have the say...
>
> OK for trunk?
Ok. The other way to do this would be to split requires-weak into two, and have darwin return false for one and true for the other and then make this use the second form. Please add a comment, like, darwin doesn't have elf weak import, or some such. The idea being, when darwin gets it, then, we could remove the line. Also, this help people have a slight clue, why such options are necessary.