Commit 4754172c by Catherine Moore Committed by Jeff Law

* invoke.texi (ld options) Include memset requirements

        for options -nodstdlib and -nodefaultlibs.

From-SVN: r19152
parent bb72a084
Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
* invoke.texi (ld options) Include memset requirements
for options -nodstdlib and -nodefaultlibs.
1998-04-12 Paul Eggert <eggert@twinsun.com> 1998-04-12 Paul Eggert <eggert@twinsun.com>
This change is from an idea suggested by Arthur David Olson. This change is from an idea suggested by Arthur David Olson.
......
...@@ -2640,12 +2640,20 @@ or @code{-nodefaultlibs} is used. ...@@ -2640,12 +2640,20 @@ or @code{-nodefaultlibs} is used.
Do not use the standard system libraries when linking. 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.
The standard startup files are used normally, unless @code{-nostartfiles} The standard startup files are used normally, unless @code{-nostartfiles}
is used. is used. The compiler may generate calls to memcmp, memset, and memcpy
for System V (and ANSI C) environments or to bcpy and bzero for
BSD environments. These entries are usually resolved by entries in
libc. These entry points should be supplied through some other
mechanism when this option is specified.
@item -nostdlib @item -nostdlib
Do not use the standard system startup files or libraries when linking. 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 No startup files and only the libraries you specify will be passed to
the linker. the linker. The compiler may generate calls to memcmp, memset, and memcpy
for System V (and ANSI C) environments or to bcpy and bzero for
BSD environments. These entries are usually resolved by entries in
libc. These entry points should be supplied through some other
mechanism when this option is specified.
@cindex @code{-lgcc}, use with @code{-nostdlib} @cindex @code{-lgcc}, use with @code{-nostdlib}
@cindex @code{-nostdlib} and unresolved references @cindex @code{-nostdlib} and unresolved references
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment