PR 6753
authorAlan Modra <amodra@gmail.com>
Sat, 9 Aug 2008 10:15:39 +0000 (10:15 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 9 Aug 2008 10:15:39 +0000 (10:15 +0000)
commita8caa2450b3abe46aeec4ccd61ccc9b680ebb2ff
treef0c291edf76ea69c3cc5bc3984bc98ecb6374f48
parent3979a37f371bb2c208f26a15155ae90dec533228
PR 6753
* ldmain.c (check_for_scripts_dir, set_scripts_dir): Delete.
(main): Don't set_scripts_dir here.
* ldfile.c (check_for_scripts_dir, find_scripts_dir): New functions,
largely based on ldmain.c versions.
(ldfile_find_command_file): Set up search in script dir here without
affecting library search.
* Makefile.am (ldmain.o): No need to define SCRIPTDIR.
(ldfile.o): New rule.
* Makefile.in: Regenerate.
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in
ld/ldfile.c
ld/ldmain.c