Re: [Patch] alpha: add support for -fsection-anchors

2011-11-07 Thread Tristan Gingold
On Nov 4, 2011, at 4:21 PM, Richard Henderson wrote: > On 11/04/2011 07:52 AM, Tristan Gingold wrote: >> Richard, as it impacts all alpha targets, do you have any objection ? > > I suspect not. We might even see what we can do about enabling it > by default for all alpha targets… Committed. I

Re: [Patch] alpha: add support for -fsection-anchors

2011-11-04 Thread Richard Henderson
On 11/04/2011 07:52 AM, Tristan Gingold wrote: > Richard, as it impacts all alpha targets, do you have any objection ? I suspect not. We might even see what we can do about enabling it by default for all alpha targets... r~

[Patch] alpha: add support for -fsection-anchors

2011-11-04 Thread Tristan Gingold
Hi, the alpha/vms ABI uses a per-function TOC/GOT, not unlike AIX. As a consequence, -fsection-anchors really reduce the size of the TOC and even of the code. This patch adds support of -fsection-anchors on alpha, and enable by default on Alpha/VMA (although it is still off at -O0). This is