public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] update i386 -m64 documentation for darwin
@ 2007-04-03  1:05 Eric Christopher
  0 siblings, 0 replies; only message in thread
From: Eric Christopher @ 2007-04-03  1:05 UTC (permalink / raw)
  To: gcc-patches Patches

[-- Attachment #1: Type: text/plain, Size: 414 bytes --]

So, the current design for x86_64 darwin has -fPIC on at all times,  
this has the effect of making -mdynamic-no-pic and -fno-pic not work  
so someone should probably document it.

Committed mainline and to 4.2. Tested by building the docs and looking  
at gcc.texi.

-eric

2007-04-02  Eric Christopher  <echristo@apple.com>

	* doc/invoke.texi (i386 and x86-64 Options): Document -m64
	limitations on darwin.



[-- Attachment #2: invoke.texi.diff.txt --]
[-- Type: text/plain, Size: 680 bytes --]

Index: doc/invoke.texi
===================================================================
--- doc/invoke.texi	(revision 123445)
+++ doc/invoke.texi	(working copy)
@@ -10198,7 +10198,9 @@ Generate code for a 32-bit or 64-bit env
 The 32-bit environment sets int, long and pointer to 32 bits and
 generates code that runs on any i386 system.
 The 64-bit environment sets int to 32 bits and long and pointer
-to 64 bits and generates code for AMD's x86-64 architecture.
+to 64 bits and generates code for AMD's x86-64 architecture. For
+darwin only the -m64 option turns off the @option{-fno-pic} and
+@option{-mdynamic-no-pic} options.
 
 @item -mno-red-zone
 @opindex no-red-zone

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-03  1:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-03  1:05 [committed] update i386 -m64 documentation for darwin Eric Christopher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).