]> gcc.gnu.org Git - gcc.git/commitdiff
invoke.texi (Link Options): -nodefaultlibs and -nostdlib override library linkage...
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 22 Jun 2009 19:23:49 +0000 (19:23 +0000)
committerRalf Wildenhues <rwild@gcc.gnu.org>
Mon, 22 Jun 2009 19:23:49 +0000 (19:23 +0000)
gcc/
* doc/invoke.texi (Link Options): -nodefaultlibs and -nostdlib
override library linkage flags such as -static-libgcc or
-shared-libgcc.

From-SVN: r148811

gcc/ChangeLog
gcc/doc/invoke.texi

index 711fe3548c5b48db2ab977dbecbd8b19b7540cb9..d2f8f7493013a1fc5d2430e3712e9c1536282348 100644 (file)
@@ -1,3 +1,9 @@
+2009-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * doc/invoke.texi (Link Options): -nodefaultlibs and -nostdlib
+       override library linkage flags such as -static-libgcc or
+       -shared-libgcc.
+
 2009-06-22  Maxim Kuvyrkov  <maxim@codesourcery.com>
 
        * config/m68k/m68k-devices.def: Add line for MCF5221x.
index ffd40501fb789cf67c67023b8b02320b2ad318c1..15ff56657196aad9fe1ff8e3a1aaec49d0e5d39d 100644 (file)
@@ -8127,7 +8127,9 @@ or @option{-nodefaultlibs} is used.
 @item -nodefaultlibs
 @opindex nodefaultlibs
 Do not use the standard system libraries when linking.
-Only the libraries you specify will be passed to the linker.
+Only the libraries you specify will be passed to the linker, options
+specifying linkage of the system libraries, such as @code{-static-libgcc}
+or @code{-shared-libgcc}, will be ignored.
 The standard startup files are used normally, unless @option{-nostartfiles}
 is used.  The compiler may generate calls to @code{memcmp},
 @code{memset}, @code{memcpy} and @code{memmove}.
@@ -8139,7 +8141,9 @@ mechanism when this option is specified.
 @opindex nostdlib
 Do not use the standard system startup files or libraries when linking.
 No startup files and only the libraries you specify will be passed to
-the linker.  The compiler may generate calls to @code{memcmp}, @code{memset},
+the linker, options specifying linkage of the system libraries, such as
+@code{-static-libgcc} or @code{-shared-libgcc}, will be ignored.
+The compiler may generate calls to @code{memcmp}, @code{memset},
 @code{memcpy} and @code{memmove}.
 These entries are usually resolved by entries in
 libc.  These entry points should be supplied through some other
This page took 0.131774 seconds and 5 git commands to generate.