aboutsummaryrefslogtreecommitdiff
path: root/ld/ldfile.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2009-04-06 00:47:09 +0000
committerKazu Hirata <kazu@codesourcery.com>2009-04-06 00:47:09 +0000
commit7d24f02c67bc8efdcfc1806e1f39e045342ae90f (patch)
tree2cd277f5e015bf8ce8611cf74eb1c2ac42f99fa5 /ld/ldfile.h
parentc71301cd1fd9d760f0f60a59ee237cd85b2a6bbb (diff)
downloadgdb-7d24f02c67bc8efdcfc1806e1f39e045342ae90f.zip
gdb-7d24f02c67bc8efdcfc1806e1f39e045342ae90f.tar.gz
gdb-7d24f02c67bc8efdcfc1806e1f39e045342ae90f.tar.bz2
* 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.
Diffstat (limited to 'ld/ldfile.h')
-rw-r--r--ld/ldfile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldfile.h b/ld/ldfile.h
index bb62249..e675be9 100644
--- a/ld/ldfile.h
+++ b/ld/ldfile.h
@@ -50,6 +50,8 @@ extern void ldfile_add_library_path
(const char *, bfd_boolean cmdline);
extern void ldfile_open_command_file
(const char *name);
+extern void ldfile_open_default_command_file
+ (const char *name);
extern void ldfile_open_file
(struct lang_input_statement_struct *);
extern bfd_boolean ldfile_try_open_bfd