Re: Fix compute_reloc_for_constant

2014-01-22 Thread Jan Hubicka
> On 19 January 2014 03:12:56 Jan Hubicka wrote: > > >Hi, > >while comparing LTO and non-LTO builds I noticed that with LTO we produce a > >lot > >more vtables in datal.rel.ro rather than data.rel.ro.local > >This is because of partitioning promoting more symbols global. For RTL we > >make > >s

Re: Fix compute_reloc_for_constant

2014-01-19 Thread Richard Biener
On Sun, Jan 19, 2014 at 3:12 AM, Jan Hubicka wrote: > Hi, > while comparing LTO and non-LTO builds I noticed that with LTO we produce a > lot > more vtables in datal.rel.ro rather than data.rel.ro.local > This is because of partitioning promoting more symbols global. For RTL we make > section dec

Re: Fix compute_reloc_for_constant

2014-01-19 Thread Bernhard Reutner-Fischer
On 19 January 2014 03:12:56 Jan Hubicka wrote: Hi, while comparing LTO and non-LTO builds I noticed that with LTO we produce a lot more vtables in datal.rel.ro rather than data.rel.ro.local This is because of partitioning promoting more symbols global. For RTL we make section decisions based on