aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1993-07-03 02:18:12 +0000
committerDavid MacKenzie <djm@cygnus>1993-07-03 02:18:12 +0000
commitff76a7dbf3f970aa7d3138d74035938d0d3ab306 (patch)
tree75e1ff344dfca339192aa670417d3e5a85032d06 /ld/ldmain.c
parent173a0c3d261a0694f4bc612991e7d9e8e9965337 (diff)
downloadgdb-ff76a7dbf3f970aa7d3138d74035938d0d3ab306.zip
gdb-ff76a7dbf3f970aa7d3138d74035938d0d3ab306.tar.gz
gdb-ff76a7dbf3f970aa7d3138d74035938d0d3ab306.tar.bz2
Fix previous fix.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 36a6f0d..0ee740c 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -187,6 +187,11 @@ main (argc, argv)
ldsym_init ();
ldfile_add_arch ("");
+ /* Set the default directory for finding script files.
+ Libraries will be searched for here too, but we want
+ them to be, anyway. */
+ ldfile_add_library_path (SCRIPTDIR);
+
config.make_executable = true;
force_make_executable = false;