summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/MappingInfo.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-05-23 20:27:07 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-05-23 20:27:07 +0000
commit5bfa37f4df88fade6aa5683854077bffc2ab2325 (patch)
treeb9e6fca195069e65b0e86192e838f26648062208 /llvm/lib/Target/Sparc/MappingInfo.cpp
parent98fa07b1d50301e60cd3080b8f52d82be24a2c15 (diff)
downloadbcm5719-llvm-5bfa37f4df88fade6aa5683854077bffc2ab2325.tar.gz
bcm5719-llvm-5bfa37f4df88fade6aa5683854077bffc2ab2325.zip
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.) llvm-svn: 6316
Diffstat (limited to 'llvm/lib/Target/Sparc/MappingInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud