* ld.texinfo (-L): Mention that -L options do not affect how ld
authorKazu Hirata <kazu@codesourcery.com>
Mon, 6 Apr 2009 00:47:09 +0000 (00:47 +0000)
committerKazu Hirata <kazu@codesourcery.com>
Mon, 6 Apr 2009 00:47:09 +0000 (00:47 +0000)
commit7d24f02c67bc8efdcfc1806e1f39e045342ae90f
tree2cd277f5e015bf8ce8611cf74eb1c2ac42f99fa5
parentc71301cd1fd9d760f0f60a59ee237cd85b2a6bbb
* ld.texinfo (-L): Mention that -L options do not affect how ld
searches for a linker script unless -T option is specified.
* ldfile.c (ldfile_find_command_file): Append the path obtained
from the program name to the search path instead of
prepending. Add a new parameter "default_only". Restrict the
search to the default script location if the new parameter is
true.
(ldfile_open_command_file_1): New.
(ldfile_open_command_file): Call ldfile_open_command_file_1.
(ldfile_open_default_command_file): New.
ld/ChangeLog
ld/ld.texinfo
ld/ldfile.c
ld/ldfile.h
ld/ldmain.c