This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: powerpc new PLT and GOT
On Tue, May 31, 2005 at 12:03:51PM +0000, Joseph S. Myers wrote:
> On Tue, 31 May 2005, Alan Modra wrote:
>
> > * configure.ac: Add --enable-secureplt.
>
> I don't see documentation in install.texi for this new configure option.
Does this pass muster? I'm a little unsure as to the best place to put
this.
* doc/install.texi: Document --enable-targets and --enable-secureplt.
Index: gcc/doc/install.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v
retrieving revision 1.351
diff -u -p -r1.351 install.texi
--- gcc/doc/install.texi 1 May 2005 13:39:37 -0000 1.351
+++ gcc/doc/install.texi 31 May 2005 14:51:38 -0000
@@ -1072,6 +1072,27 @@ do a @samp{make -C gcc gnatlib_and_tools
Specify that the compiler should
use DWARF 2 debugging information as the default.
+@item --enable-targets=all
+@itemx --enable-targets=@var{target_list}
+Some GCC targets, eg. powerpc64-linux, build bi-arch compilers. These
+are compilers that are able to generate either 64-bit or 32-bit code.
+Typicially, the corresponding 32-bit target, eg. powerpc-linux for
+powerpc64-linux, only generates 32-bit code. This option enables the
+32-bit target to be a bi-arch compiler, which is useful when you want
+a bi-arch compiler that defaults to 32-bit, and you are building a
+bi-arch or multi-arch binutils in a combined tree. Currently, this
+option only affects powerpc-linux.
+
+@item --enable-secureplt
+This option enables -msecure-plt by default for powerpc-linux.
+@ifnothtml
+@xref{RS/6000 and PowerPC Options,, RS/6000 and PowerPC Options, gcc,
+Using and Porting the GNU Compiler Collection (GCC)},
+@end ifnothtml
+@ifhtml
+See ``RS/6000 and PowerPC Options'' in the main manual
+@end ifhtml
+
@item --enable-win32-registry
@itemx --enable-win32-registry=@var{key}
@itemx --disable-win32-registry
--
Alan Modra
IBM OzLabs - Linux Technology Centre