On Thu, Dec 2, 2010 at 9:41 AM, Ian Lance Taylor <[email protected]> wrote: > "H.J. Lu" <[email protected]> writes: > >> How do you deal with -lm: > > I believe we have agreed that LTO can only introduce new symbol > references that are satisfied by -lc and -lgcc. Under those conditions,
Have you looked my testcase? The assumption of "LTO can only introduce new symbol references that are satisfied by -lc and -lgcc." is wrong. My testcase shows LTO may introduce new symbol references to libm. -- H.J.
