diff options
author | Nick Clifton <nickc@redhat.com> | 2003-03-25 10:29:28 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-03-25 10:29:28 +0000 |
commit | 3fe38064baf3b9afbd892b0df390b3879d9072a9 (patch) | |
tree | 60f7686e039dcb88d3dfecf769ad44fa33dfbb77 /ld/Makefile.am | |
parent | 2cf6873caef1b656aeacdea811c225bdd53e9029 (diff) | |
download | gdb-3fe38064baf3b9afbd892b0df390b3879d9072a9.zip gdb-3fe38064baf3b9afbd892b0df390b3879d9072a9.tar.gz gdb-3fe38064baf3b9afbd892b0df390b3879d9072a9.tar.bz2 |
ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. (main): Initialize them.
ldfile.c: Include pathnames.h. (is_sysrooted_pathname): New. (ldfile_add_library_path): Use it.
(ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH.
Don't search_dirs if given an absolute pathname.
(ldfile_open_file): Issue error message for sysrooted absolute pathnames.
Diffstat (limited to 'ld/Makefile.am')
-rw-r--r-- | ld/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am index 0fd8b5e..41af307 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -1613,7 +1613,7 @@ ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \ ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \ - ldlex.h ldemul.h $(INCDIR)/libiberty.h + ldlex.h ldemul.h $(INCDIR)/libiberty.h $(INCDIR)/filenames.h ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \ |