This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Check for .ref support on AIX
- From: Tristan Gingold <gingold at adacore dot com>
- To: Richard Sandiford <rdsandiford at googlemail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 Jan 2010 09:54:07 +0100
- Subject: Re: RFA: Check for .ref support on AIX
- References: <87d41ch4wy.fsf@firetop.home>
On Jan 14, 2010, at 8:17 PM, Richard Sandiford wrote:
> Olivier committed an AIX patch a few months ago to reduce the amount of
> code and data pulled in (via EH tables) from C++ archives. The patch
> was a very welcome improvement on the behaviour of GCC 4.4 and earlier.
>
> The patch coincided with the preparation of the binutils 2.20 release,
> which was supposed to be the first version to support modern flavours
> of AIX. However, the EH patch relied on the .ref psuedo-op, which
> binutils 2.20 unfortunately didn't support.
>
> I'm about to post a binutils patch to add that support. However,
> now that 2.20 is out, I'd like GCC to use a configure check to make
> sure that .ref is available. If it isn't, I'd like it to fall back
> to the 4.4 behaviour.
Note: we can also put .ref support in binutils 2.20.1
Tristan.