Re: -flto tests don't pick up libgloss code at link time

2011-03-06 Thread H.J. Lu
On Sun, Mar 6, 2011 at 6:52 AM, Anthony Green wrote: > On 3/6/2011 9:10 AM, H.J. Lu wrote: >> >> On Sun, Mar 6, 2011 at 5:57 AM, Dave Korn >>  wrote: >>> >>> On 06/03/2011 07:02, Anthony Green wrote: All of the -flto tests fail for moxie-elf... http://gcc.gnu.org/ml/gcc-testres

Re: -flto tests don't pick up libgloss code at link time

2011-03-06 Thread Anthony Green
On 3/6/2011 9:10 AM, H.J. Lu wrote: On Sun, Mar 6, 2011 at 5:57 AM, Dave Korn wrote: On 06/03/2011 07:02, Anthony Green wrote: All of the -flto tests fail for moxie-elf... http://gcc.gnu.org/ml/gcc-testresults/2011-03/msg00399.html It turns out that this is because it fails to link with the

Re: -flto tests don't pick up libgloss code at link time

2011-03-06 Thread H.J. Lu
On Sun, Mar 6, 2011 at 5:57 AM, Dave Korn wrote: > On 06/03/2011 07:02, Anthony Green wrote: >> All of the -flto tests fail for moxie-elf... >> >> http://gcc.gnu.org/ml/gcc-testresults/2011-03/msg00399.html >> >> It turns out that this is because it fails to link with the code in >> libgloss when

Re: -flto tests don't pick up libgloss code at link time

2011-03-06 Thread Dave Korn
On 06/03/2011 07:02, Anthony Green wrote: > All of the -flto tests fail for moxie-elf... > > http://gcc.gnu.org/ml/gcc-testresults/2011-03/msg00399.html > > It turns out that this is because it fails to link with the code in > libgloss when I enable -flto. > > I link the test code with a special

-flto tests don't pick up libgloss code at link time

2011-03-05 Thread Anthony Green
All of the -flto tests fail for moxie-elf... http://gcc.gnu.org/ml/gcc-testresults/2011-03/msg00399.html It turns out that this is because it fails to link with the code in libgloss when I enable -flto. I link the test code with a special linker script (sim.ld) that pulls in the libgloss cod