diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-01-14 20:44:48 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-01-14 20:44:48 +0000 |
commit | f9c5c2313c120e35d2420e56bb45f18d39e44499 (patch) | |
tree | 4e19cf44498f50c409f7bdb2f8a60287968161a2 /ld | |
parent | 03b240371f3d13743fb0bd34ff2496c26788ab8d (diff) | |
download | gdb-f9c5c2313c120e35d2420e56bb45f18d39e44499.zip gdb-f9c5c2313c120e35d2420e56bb45f18d39e44499.tar.gz gdb-f9c5c2313c120e35d2420e56bb45f18d39e44499.tar.bz2 |
* ld.texinfo (Commands): Clarify that the normal usage is -T.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/ld.texinfo | 12 |
2 files changed, 13 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 1c01da0..6c7ea7f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +Tue Jan 14 15:44:28 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo (Commands): Clarify that the normal usage is -T. + Thu Jan 9 11:26:27 1997 Ian Lance Taylor <ian@cygnus.com> * scripttempl/armcoff.sc: Correct mask used for .data address. diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 34924e9..d5fb880 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 |