This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] fix visibility problems for out-of-line prologues/epilogues
On Wed, Oct 08, 2008 at 02:43:19PM +1030, Alan Modra wrote:
> On Tue, Oct 07, 2008 at 05:31:01PM -0400, David Edelsohn wrote:
> > Alan, do you have any opinion about guarding the use of .hidden so that GCC
> > can work with older versions of Binutils?
>
> I wouldn't even try. Just add a note in doc/install.texi specifying
> the minimum binutils version for targets affected by this change.
Patch to doc/install.texi below, which I'll install as part of the
patch. It looks like Linux targets already required binutils 2.15,
which includes .hidden support. I just made it mandatory for all
PowerPC targets; I'm happy to lower it for PowerPC targets generally (to
pick up .hidden support) and still require 2.15 for Linux targets.
Gerald, is the patch OK? David/Alan, OK to require 2.15 for all PowerPC
targets?
> Incidentally, why do we still have crtsavres.asm? It looks like it should
> have disappeared here:
>
> 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
Yup, silly me. I'll really delete it when I commit this patch.
-Nathan
* doc/install.texi (powerpc-*-*): Require binutils 2.15.
(powerpc*-*-linux-gnu*): Describe.
Index: gcc/doc/install.texi
===================================================================
--- gcc/doc/install.texi (revision 140940)
+++ gcc/doc/install.texi (working copy)
@@ -3653,6 +3653,10 @@ information about using GCC on IRIX plat
You can specify a default version for the @option{-mcpu=@var{cpu_type}}
switch by using the configure option @option{--with-cpu-@var{cpu_type}}.
+You will need
+@uref{ftp://ftp.kernel.org/pub/linux/devel/binutils,,binutils 2.15}
+or newer for a working GCC@.
+
@html
<hr />
@end html
@@ -3681,9 +3685,7 @@ PowerPC system in big endian mode, runni
@end html
@heading @anchor{powerpc-x-linux-gnu}powerpc*-*-linux-gnu*
-You will need
-@uref{ftp://ftp.kernel.org/pub/linux/devel/binutils,,binutils 2.15}
-or newer for a working GCC@.
+PowerPC system in big endian mode running Linux.
@html
<hr />