[x/6][PATCH] Portability tweaks for LTO tests.

H.J. Lu hjl.tools@gmail.com
Sat Feb 26 05:33:00 GMT 2011


On Fri, Feb 25, 2011 at 7:49 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Fri, Feb 25, 2011 at 4:47 PM, Dave Korn <dave.korn.cygwin@gmail.com> wrote:
>>
>>    Hi list,
>>
>>  This is out of the main series, because it's a couple of tweaks to the LTO
>> tests in HJ's branch; included here for reference, since I've been running
>> tests with it folded in.  I notice it's slightly outdated here, as upstream HJ
>> has already added gcc_ld_flag (and gcc_gas_flag, in fact) to the ld/12365 test
>> in lto.exp, so that bit won't apply cleanly, but the second change in that
>> hunk (adding a '_?' prefix to the regex) is still needed.  FYI, YMMV.
>>
>> ld/testsuite/ChangeLog:
>>
>> 2011-02-20  Dave Korn  <...
>>
>>        * ld-plugin/lto-10r.d: Allow optional underscore prefixes when
>>        checking for known symbol name.
>>        * ld-plugin/lto-3r.d: Likewise.
>>        * ld-plugin/lto-5r.d: Likewise.
>>        * ld-plugin/lto-6.c: Handle non-standard etext name on Windows.
>>        * ld-plugin/lto.exp: Add $gcc_ld_flag carrying -B option to ld under
>>        test when invoking $CC directly rather than via lib support routines.
>>
>>
>
> I added a new test LTO-16 into my branch.  If you send me a patch against
> commit d33f411f8648104187e369c99d71204e54303bbd, I will
> include it on  my branch.
>

I added a new testcase to my branch. Please use
commit 45a499bc8753fe2c3c32aab5cff4a9493ffdf006.


-- 
H.J.



More information about the Binutils mailing list