From: Ian Lance Taylor Date: Tue, 14 Jan 1997 20:44:48 +0000 (+0000) Subject: * ld.texinfo (Commands): Clarify that the normal usage is -T. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9c5c2313c120e35d2420e56bb45f18d39e44499;p=binutils-gdb.git * ld.texinfo (Commands): Clarify that the normal usage is -T. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 1c01da06658..6c7ea7f88fe 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +Tue Jan 14 15:44:28 1997 Ian Lance Taylor + + * ld.texinfo (Commands): Clarify that the normal usage is -T. + Thu Jan 9 11:26:27 1997 Ian Lance Taylor * scripttempl/armcoff.sc: Correct mask used for .data address. diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 34924e92091..d5fb880aad0 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -1209,10 +1209,16 @@ addresses of sections placement of common blocks @end itemize -You may supply a command file (also known as a link script) to the +You may supply a command file (also known as a linker script) to the linker either explicitly through the @samp{-T} option, or implicitly as -an ordinary file. If the linker opens a file which it cannot recognize -as a supported object or archive format, it reports an error. +an ordinary file. Normally you should use the @samp{-T} option. An +implicit linker script should only be used when you want to augment, +rather than replace, the default linker script; typically an implicit +linker script would consist only of @code{INPUT} or @code{GROUP} +commands. + +If the linker opens a file which it cannot recognize as a supported +object or archive format, nor as a linker script, it reports an error. @menu * Scripts:: Linker Scripts