RE: Convert cross reference table to resolution file for LTO

2010-07-01 Thread Bingfeng Mei
> -Original Message- > From: Michael Matz [mailto:m...@suse.de] > Sent: 01 July 2010 16:27 > To: Richard Guenther > Cc: Bingfeng Mei; gcc@gcc.gnu.org; Jan Hubicka > Subject: Re: Convert cross reference table to resolution file for LTO > > Hi, > > On Thu

RE: Convert cross reference table to resolution file for LTO

2010-07-01 Thread Bingfeng Mei
> -Original Message- > From: Richard Guenther [mailto:richard.guent...@gmail.com] > Sent: 01 July 2010 16:13 > To: Bingfeng Mei > Cc: gcc@gcc.gnu.org; Jan Hubicka > Subject: Re: Convert cross reference table to resolution file for LTO > > On Thu, Jul 1, 2010

Re: Convert cross reference table to resolution file for LTO

2010-07-01 Thread Michael Matz
Hi, On Thu, 1 Jul 2010, Richard Guenther wrote: > Does --cref work with .comm symbols properly (listing the biggest one > first)? Unfortunately no. (I find it mildly ugly to make collect2 act as a file filter. Why shouldn't the --cref parser be implemented in the lto frontend, next to the r

Re: Convert cross reference table to resolution file for LTO

2010-07-01 Thread Richard Guenther
On Thu, Jul 1, 2010 at 5:02 PM, Bingfeng Mei wrote: > Hi, > I did some experiments to convert cross-reference table > to resolution files. Patches are attached and still crude. > > The initial idea is to have as little as possible change > in GNU LD. It turns out that cross reference table doesn't