diff options
author | Alan Modra <amodra@gmail.com> | 2008-08-09 10:15:39 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-08-09 10:15:39 +0000 |
commit | a8caa2450b3abe46aeec4ccd61ccc9b680ebb2ff (patch) | |
tree | f0c291edf76ea69c3cc5bc3984bc98ecb6374f48 /ld/Makefile.in | |
parent | 3979a37f371bb2c208f26a15155ae90dec533228 (diff) | |
download | gdb-a8caa2450b3abe46aeec4ccd61ccc9b680ebb2ff.zip gdb-a8caa2450b3abe46aeec4ccd61ccc9b680ebb2ff.tar.gz gdb-a8caa2450b3abe46aeec4ccd61ccc9b680ebb2ff.tar.bz2 |
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.
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r-- | ld/Makefile.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in index eb41a51..f96328c 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -1304,11 +1304,15 @@ po/POTFILES.in: @MAINT@ Makefile ldmain.o: ldmain.c config.status $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \ - -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \ - -DTOOLBINDIR='"$(tooldir)/bin"' \ + -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \ $(srcdir)/ldmain.c +ldfile.o: ldfile.c config.status + $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' \ + -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ + $(srcdir)/ldfile.c + eelf32_spu.o: eelf32_spu.c $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \ eelf32_spu.c |