diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-06-22 19:23:49 +0000 |
---|---|---|
committer | Ralf Wildenhues <rwild@gcc.gnu.org> | 2009-06-22 19:23:49 +0000 |
commit | 5c6927bd74bb4d7c6638292aaecb186824186d1d (patch) | |
tree | e0584bef4dede3441564cee4b03e88acf1fbedc0 | |
parent | 19973be2be689c25a12e3bae50ce00204f1fc03f (diff) | |
download | gcc-5c6927bd74bb4d7c6638292aaecb186824186d1d.zip gcc-5c6927bd74bb4d7c6638292aaecb186824186d1d.tar.gz gcc-5c6927bd74bb4d7c6638292aaecb186824186d1d.tar.bz2 |
invoke.texi (Link Options): -nodefaultlibs and -nostdlib override library linkage flags such as...
gcc/
* doc/invoke.texi (Link Options): -nodefaultlibs and -nostdlib
override library linkage flags such as -static-libgcc or
-shared-libgcc.
From-SVN: r148811
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 711fe35..d2f8f74 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index ffd4050..15ff566 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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 |