OSDN Git Service

* 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)
commit6e31561f211107e43e66b8a4c494a7898d138f5c
tree63c1e528bc6542438ef2242e9cea40c8f1080045
parentf51e82052dd189ceeebbd2b89390a2ad6ed5cd23
* 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