]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - ld/ldmain.c
ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. (main): Initialize them.
authorNick Clifton <nickc@redhat.com>
Tue, 25 Mar 2003 10:29:28 +0000 (10:29 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 25 Mar 2003 10:29:28 +0000 (10:29 +0000)
commit3fe38064baf3b9afbd892b0df390b3879d9072a9
tree60f7686e039dcb88d3dfecf769ad44fa33dfbb77
parent2cf6873caef1b656aeacdea811c225bdd53e9029
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.
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in
ld/ldfile.c
ld/ldmain.c
ld/ldmain.h