diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-06-02 21:30:57 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-06-02 21:30:57 +0000 |
commit | 0cd82d00da11d624087fada13fc68db95b4d5e63 (patch) | |
tree | 2f955b69c0bf7aafa6aadfd580b15f563c12d41f /ld/ldmain.c | |
parent | ebd6f11797d7beb545cd48111210b07fdec806ce (diff) | |
download | gdb-0cd82d00da11d624087fada13fc68db95b4d5e63.zip gdb-0cd82d00da11d624087fada13fc68db95b4d5e63.tar.gz gdb-0cd82d00da11d624087fada13fc68db95b4d5e63.tar.bz2 |
* ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline
field.
(search_head): Declare.
(ldfile_add_library_path): Add new cmdline argument in prototype.
* ldfile.c (search_head): Make non-static.
(search_dirs_type): Move to ldfile.h.
(ldfile_add_library_path): Accept cmdline argument, and save it.
* lexsup.c (parse_args): Pass true for new cmdline argument of
ldfile_add_library_path.
(set_default_dirlist): Likewise.
* ldmain.c (check_for_scripts_dir): Pass false for new cmdline
argument of ldfile_add_library_path.
* ldgram.y (ifile_p1): Likewise.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r-- | ld/ldmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c index ae64b23..3109bbb 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -397,7 +397,7 @@ check_for_scripts_dir (dir) res = stat (buf, &s) == 0 && S_ISDIR (s.st_mode); free (buf); if (res) - ldfile_add_library_path (dir); + ldfile_add_library_path (dir, false); return res; } |