OSDN Git Service

* doc/invoke.texi (Darwin Options): Document -mkernel.
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Oct 2006 23:06:26 +0000 (23:06 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Oct 2006 23:06:26 +0000 (23:06 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117798 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/invoke.texi

index 0b8faf3..877b768 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 e81809c..3836bc0 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}.