diff mbox

[rs6000] Document default code model for 64-bit Linux

Message ID f1c8ac86-b006-99ab-3356-97e52d8379ab@linux.vnet.ibm.com
State New
Headers show

Commit Message

Bill Schmidt March 1, 2017, 6:45 p.m. UTC
Hi,

The PowerPC documentation doesn't currently identify the default code model.
This is rather complicated due to all the various subtargets, but it is
valuable to at least document the common case for 64-bit Linux.

Verified on powerpc64le-unknown-linux-gnu.  Ok for trunk?

Thanks,
Bill


2017-03-01  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* doc/invoke.texi: Document default code model for 64-bit Linux.

Comments

Segher Boessenkool March 1, 2017, 9:17 p.m. UTC | #1
On Wed, Mar 01, 2017 at 12:45:41PM -0600, Bill Schmidt wrote:
> The PowerPC documentation doesn't currently identify the default code model.
> This is rather complicated due to all the various subtargets, but it is
> valuable to at least document the common case for 64-bit Linux.
> 
> Verified on powerpc64le-unknown-linux-gnu.  Ok for trunk?

Sure.  Thanks!


Segher
diff mbox

Patch

Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi	(revision 245811)
+++ gcc/doc/invoke.texi	(working copy)
@@ -21166,7 +21166,8 @@  Generate PowerPC64 code for the small model: The T
 @item -mcmodel=medium
 @opindex mcmodel=medium
 Generate PowerPC64 code for the medium model: The TOC and other static
-data may be up to a total of 4G in size.
+data may be up to a total of 4G in size.  This is the default for 64-bit
+Linux.
 
 @item -mcmodel=large
 @opindex mcmodel=large