[PATCH, testsuite]: Fix detection of ifunc support

2011-07-21 Thread Uros Bizjak
Hello! Revision 164725 [1] broke detection of ifunc support in the testsuite [2] due to extra #endif without if in the test function. Attached patch fixes this up. 2011-07-21 Uros Bizjak ubiz...@gmail.com * lib/target-supports.exp (check_ifunc_available): Fix test function. The patch

Re: [PATCH, testsuite]: Fix detection of ifunc support

2011-07-21 Thread Uros Bizjak
On Thu, Jul 21, 2011 at 11:56 PM, Uros Bizjak ubiz...@gmail.com wrote: Revision 164725 [1] broke detection of ifunc support in the testsuite [2] due to extra #endif without if in the test function. Attached patch fixes this up. Actually, we can use existing testsuite infrastructure to

Re: [PATCH, testsuite]: Fix detection of ifunc support

2011-07-21 Thread Mike Stump
On Jul 21, 2011, at 3:29 PM, Uros Bizjak wrote: Actually, we can use existing testsuite infrastructure to simplify the function substantially. 2011-07-21 Uros Bizjak ubiz...@gmail.com * lib/target-supports.exp (check_ifunc_available): Rewrite. The patch is tested on