gccld.cpp:
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 23 May 2003 20:27:07 +0000 (20:27 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 23 May 2003 20:27:07 +0000 (20:27 +0000)
commit69a79600cb782c18715c4cf1cbb7ed5b0df799c1
tree81dc848114c5ba654735c831dbae07d3a85cc199
parent02ec5ede6cf10163086a27241508fc5778e39737
gccld.cpp:
 Fix typo in header.
 Add IsArchive static method.
 Roll LoadLibraryFromDirectory() into LoadLibrary(), and factor
  LoadLibraryExactName() out of the result. Instead of treating the current
  directory specially, just insert it into LibPaths in the beginning of
  main().
 Make LoadLibrary() take a "search" flag that says whether to search for the
  correct library, or just trust that LibName is right.
 Make LinkLibrary() take a "search" flag, and pass it to LoadLibrary().
 Change the for-loop over InputFilenames to detect ar archives and link them
  in as libraries without searching.
 Change the for-loop over Libraries to explicitly turn on the "search" flag
  to LinkLibrary() that makes LoadLibrary() search for the correct library
  (i.e., when processing -lNAME options.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6316 91177308-0d34-0410-b5e6-96231b3b80d8
tools/gccld/gccld.cpp