Re: Fix compute_reloc_for_constant

2014-01-22 Thread Jan Hubicka
On 19 January 2014 03:12:56 Jan Hubicka hubi...@ucw.cz 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

Re: Fix compute_reloc_for_constant

2014-01-19 Thread Bernhard Reutner-Fischer
On 19 January 2014 03:12:56 Jan Hubicka hubi...@ucw.cz 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

Re: Fix compute_reloc_for_constant

2014-01-19 Thread Richard Biener
On Sun, Jan 19, 2014 at 3:12 AM, Jan Hubicka hubi...@ucw.cz 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

Fix compute_reloc_for_constant

2014-01-18 Thread Jan Hubicka
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 SYMBOL_REF_LOCAL_FLAG that is set based on