summaryrefslogtreecommitdiffstats
path: root/llvm/tools/gccld/Linker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Moved to lib/LinkerReid Spencer2004-11-141-422/+0
| | | | llvm-svn: 17786
* Output the program name (in this case, gccld) with warning about invalid filesMisha Brukman2004-11-091-1/+2
| | | | llvm-svn: 17638
* Don't silently ignore invalid files: tell the user!Misha Brukman2004-11-081-0/+2
| | | | llvm-svn: 17633
* Changes For Bug 352Reid Spencer2004-09-011-4/+4
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Linker.h moved to include/llvm/SupportMisha Brukman2004-06-231-1/+1
| | | | llvm-svn: 14351
* Move some functions out of gccld.cpp to GenerateCode.cpp. This allows usChris Lattner2004-06-021-4/+4
| | | | | | | to reduce the inter-file interface in the gccld tool and gets some uninteresting code out of gccld.cpp. llvm-svn: 13942
* Header file movedChris Lattner2004-05-271-1/+1
| | | | llvm-svn: 13813
* Don't use invalid HTML in a doxygen comment.Misha Brukman2004-04-151-1/+1
| | | | llvm-svn: 12962
* Include Config/config.h for SHLIBEXT.Alkis Evlogimenos2004-02-231-0/+1
| | | | llvm-svn: 11779
* Fixes for PR214. Use the SHLIBEXT variable instead of hardcoding .so intoJohn Criswell2004-01-261-2/+2
| | | | | | every file. llvm-svn: 10976
* Modified the logic so that library objects with main() are only linked inJohn Criswell2003-12-231-6/+7
| | | | | | if the program currently has main undefined. llvm-svn: 10597
* Modified the linker so that it always links in an object from an archiveJohn Criswell2003-12-231-11/+21
| | | | | | | | | | that defines the symbol "main." This is a hack that ensures that programs that place their main function in a library and then link it in (i.e. Apache 2.x) get their main function linked in. There is probably a more correct way to do this, but this works for now. llvm-svn: 10594
* * The return value of LinkLibraries is ignored, so remove it.Chris Lattner2003-11-281-36/+27
| | | | | | | | * Finegrainify namespacification of Linker.cpp * If linking a library in fails, do not STOP LINKING IN LIBRARIES AND CONTINUE ANYWAY! Instead, just output the warning, and keep going. :) llvm-svn: 10249
* Add ability to search only for native shared object, and expose theMisha Brukman2003-11-201-7/+5
| | | | | | functionality to the rest of gccld. llvm-svn: 10113
* When we find a module we want, in an archive, in verbose mode,Brian Gaeke2003-11-161-6/+13
| | | | | | | | print out the module's identifier (which should now contain the name of both the archive and the module.) Wrap some lines at 80 cols. llvm-svn: 10039
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Move IsArchive, IsBytecode to FileUtilities. Fix up some method comments.Brian Gaeke2003-11-111-60/+17
| | | | llvm-svn: 9902
* This version of Linker.cpp works a lot better, but it's a little messy. Sorry.Brian Gaeke2003-11-111-20/+28
| | | | | | | | Use FileOpenable() instead of FileExists(). Create IsBytecode() predicate -- like IsArchive(), but for bytecode files. Use IsBytecode() before trying to load any file as a bytecode file. llvm-svn: 9893
* Shorten and correct some function-header comments.Brian Gaeke2003-11-051-53/+28
| | | | | | | | | | | | | | Make "verbose" output MUCH nicer. Now it tells you when you are linking a bytecode file, or an archive, and whether it's because you called it by name, or because you gave it a -l option, and it says "Trying" before it takes action and prints a message in the past tense afterwards. Make LinkFiles not skip the first file in Files. Make LinkFiles warn you if it can't find a file and LLVM_LIB_SEARCH_PATH is unset. llvm-svn: 9747
* Fix off-by-one error in processing of libraries named on command line.Brian Gaeke2003-10-211-1/+1
| | | | llvm-svn: 9351
* fix file headerChris Lattner2003-10-201-1/+0
| | | | llvm-svn: 9294
* Added copyright header to all C++ source files.John Criswell2003-10-201-0/+8
| | | | llvm-svn: 9291
* Don't include "Config/stdlib.h".Brian Gaeke2003-10-101-1/+0
| | | | llvm-svn: 9037
* Make more error messages have gccld's name in them.Brian Gaeke2003-10-081-4/+6
| | | | | | Add a newline after "Cannot find <library>". llvm-svn: 8968
* Doxygen-ified comments.Misha Brukman2003-09-301-187/+147
| | | | llvm-svn: 8778
* Made code more terse:Misha Brukman2003-09-301-15/+4
| | | | | | | * Deleted empty comment lines * No single begin-braces '{' on a line by themselves llvm-svn: 8773
* 1. Use better error messages in LinkFiles().Brian Gaeke2003-09-301-2/+2
| | | | | | | | 2. I think the caller of LinkFiles() should not ignore a true return value. (If you have a good reason why it ought to, feel free to revert this. It's just something that's been bugging me for a while.) llvm-svn: 8760
* Update file headers for renamed files.Chris Lattner2003-09-301-12/+4
| | | | llvm-svn: 8758
* Tersified code:Misha Brukman2003-09-291-39/+33
| | | | | | | | * Removed space between function name and its argument list * Removed space between '&' and variable name * Removed empty comment lines: `//' llvm-svn: 8750
* * Ordered includes according to LLVM programmers' guideMisha Brukman2003-09-291-127/+50
| | | | | | | * Made code layout more verbose: no more '{' on a line by itself * Pruned extra whitespace llvm-svn: 8748
* Removed linking functionality from gccld.cpp and moved it to linker.cpp.John Criswell2003-09-191-0/+601
Renamed functions that were all lower-case. Moved functions from util.cpp into linker.cpp or gccld.cpp. Removed util.h and created gccld.h. Refactored the linker functionality in linker.cpp so that it is easier to follow, easier to modify, and it's library/object file search behavior is easier to understand and document. Added code to include library paths when doing native linking, but this causes problems and is currently #ifdef'd out. llvm-svn: 8609
OpenPOWER on IntegriCloud