diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b63fcfcdff73..2b7466fad94b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sun Apr 12 20:55:32 1998 Catherine Moore + + * invoke.texi (ld options) Include memset requirements + for options -nodstdlib and -nodefaultlibs. + 1998-04-12 Paul Eggert This change is from an idea suggested by Arthur David Olson. diff --git a/gcc/invoke.texi b/gcc/invoke.texi index 0b33ae3c4f68..d57afbb2c259 100644 --- a/gcc/invoke.texi +++ b/gcc/invoke.texi @@ -2640,12 +2640,20 @@ or @code{-nodefaultlibs} is used. Do not use the standard system libraries when linking. Only the libraries you specify will be passed to the linker. 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 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 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{-nostdlib} and unresolved references