* doc/invoke.texi (Darwin Options): Document -mkernel.
authorMike Stump <mrs@apple.com>
Mon, 16 Oct 2006 23:06:26 +0000 (23:06 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Mon, 16 Oct 2006 23:06:26 +0000 (23:06 +0000)
From-SVN: r117798

gcc/ChangeLog
gcc/doc/invoke.texi

index 0b8faf375bebf940f24c747081d556406a6d9414..877b768cf576946f66b57de4bf6dbc9d77b4af6e 100644 (file)
@@ -6,6 +6,7 @@
 
 2006-10-16  Mike Stump  <mrs@apple.com>
 
+       * doc/invoke.texi (Darwin Options): Document -mkernel.
        * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Add
        -mkernel support.
        (C_COMMON_OVERRIDE_OPTIONS): Add -mkernel support.  Add
index e81809caa34fa9f042a6e6d34b56f4aaffadb2b0..3836bc0efd2ac66e31b460247929adaa6b28248e 100644 (file)
@@ -470,7 +470,7 @@ Objective-C and Objective-C++ Dialects}.
 -twolevel_namespace  -umbrella  -undefined @gol
 -unexported_symbols_list  -weak_reference_mismatches @gol
 -whatsloaded -F -gused -gfull -mmacosx-version-min=@var{version} @gol
--mone-byte-bool}
+-mkernel -mone-byte-bool}
 
 @emph{DEC Alpha Options}
 @gccoptlist{-mno-fp-regs  -msoft-float  -malpha-as  -mgas @gol
@@ -8074,6 +8074,16 @@ is @var{version}.  Typical values of @var{version} include @code{10.1},
 The default for this option is to make choices that seem to be most
 useful.  
 
+@item -mkernel
+@opindex mkernel
+Enable kernel development mode.  The @option{-mkernel} sets
+@option{-static}, @option{-fno-common}, @option{-fno-cxa-atexit},
+@option{-fno-exceptions}, @option{-fno-non-call-exceptions},
+@option{-fapple-kext}, @option{-fno-weak} and @option{-fno-rtti} where
+applicable.  This mode also sets @option{-mno-altivec},
+@option{-msoft-float}, @option{-fno-builtin} and
+@option{-mlong-branch} for PowerPC targets.
+
 @item -mone-byte-bool
 @opindex -mone-byte-bool
 Override the defaults for @samp{bool} so that @samp{sizeof(bool)==1}.