Re: [PATCH] [GCC] Don't use section anchors for declarations that don't fit in a single anchor range

2016-08-18 Thread James Greenhalgh
On Wed, Aug 17, 2016 at 09:09:07PM -0600, Jeff Law wrote: > On 08/17/2016 02:23 AM, Richard Biener wrote: > >On Tue, Aug 16, 2016 at 6:06 PM, Jeff Law wrote: > >>On 08/16/2016 08:01 AM, Tamar Christina wrote: > >>> > >>> > >>>Hi All, > >>> > >>>This patch turns off the usage of

Re: [PATCH] [GCC] Don't use section anchors for declarations that don't fit in a single anchor range

2016-08-17 Thread Jeff Law
On 08/17/2016 02:23 AM, Richard Biener wrote: On Tue, Aug 16, 2016 at 6:06 PM, Jeff Law wrote: On 08/16/2016 08:01 AM, Tamar Christina wrote: Hi All, This patch turns off the usage of section anchors for declarations that do not fit in a single anchor range. A large enough

Re: [PATCH] [GCC] Don't use section anchors for declarations that don't fit in a single anchor range

2016-08-17 Thread Richard Earnshaw (lists)
On 17/08/16 09:23, Richard Biener wrote: > On Tue, Aug 16, 2016 at 6:06 PM, Jeff Law wrote: >> On 08/16/2016 08:01 AM, Tamar Christina wrote: >>> >>> >>> Hi All, >>> >>> This patch turns off the usage of section anchors for >>> declarations that do not fit in a single anchor

Re: [PATCH] [GCC] Don't use section anchors for declarations that don't fit in a single anchor range

2016-08-17 Thread Richard Biener
On Tue, Aug 16, 2016 at 6:06 PM, Jeff Law wrote: > On 08/16/2016 08:01 AM, Tamar Christina wrote: >> >> >> Hi All, >> >> This patch turns off the usage of section anchors for >> declarations that do not fit in a single anchor range. >> A large enough object will use the full

Re: [PATCH] [GCC] Don't use section anchors for declarations that don't fit in a single anchor range

2016-08-16 Thread Jeff Law
On 08/16/2016 08:01 AM, Tamar Christina wrote: Hi All, This patch turns off the usage of section anchors for declarations that do not fit in a single anchor range. A large enough object will use the full anchor range and also force the use of another anchor pointer. By not using an anchor for

[PATCH] [GCC] Don't use section anchors for declarations that don't fit in a single anchor range

2016-08-16 Thread Tamar Christina
Hi All, This patch turns off the usage of section anchors for declarations that do not fit in a single anchor range. A large enough object will use the full anchor range and also force the use of another anchor pointer. By not using an anchor for large objects more globals can share the same