summaryrefslogtreecommitdiffstats
path: root/llvm/tools/gccld
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't use invalid HTML in a doxygen comment.Misha Brukman2004-04-151-1/+1
| | | | llvm-svn: 12962
* Add a couple more IPO'sChris Lattner2004-04-121-0/+3
| | | | llvm-svn: 12863
* Disable strict alias analysis in the backend c compiler, as the code weChris Lattner2004-04-081-0/+1
| | | | | | generate is not TBAA safe. llvm-svn: 12774
* Revert previous patch, I'm a moron :)Chris Lattner2004-04-081-6/+5
| | | | llvm-svn: 12773
* Right, we break strict aliasing requirements. Make sure to disable strictChris Lattner2004-04-081-5/+6
| | | | | | aliasing in the C compiler. llvm-svn: 12772
* Minor cleanupsChris Lattner2004-04-061-32/+18
| | | | llvm-svn: 12700
* Add a new gccld -native-cbe option which causes gccld to generate native codeChris Lattner2004-04-063-1/+48
| | | | | | for the application with the C backend instead of the native LLVM code generator llvm-svn: 12698
* Run the new pass in gccld now that it passes all testsChris Lattner2004-03-071-0/+4
| | | | llvm-svn: 12196
* We have this snazzy link-time optimizer. How about we start using it? ThisChris Lattner2004-02-261-2/+6
| | | | | | | removes some cruft from 255.vortex, cleaning up after DAE and IPCP, which do horrible, beautiful, things to vortex. llvm-svn: 11861
* Add a new pass, run internalize firstChris Lattner2004-02-251-7/+11
| | | | llvm-svn: 11839
* Include Config/config.h for SHLIBEXT.Alkis Evlogimenos2004-02-231-0/+1
| | | | llvm-svn: 11779
* Make sure to print a stack trace whenever an error signal is delivered toChris Lattner2004-02-191-0/+1
| | | | | | the tool. llvm-svn: 11633
* Fixed PR#197. The libcrtend library is removed from the library linking listJohn Criswell2004-01-261-2/+4
| | | | | | when creating native executables. llvm-svn: 10979
* Fixes for PR214. Use the SHLIBEXT variable instead of hardcoding .so intoJohn Criswell2004-01-261-2/+2
| | | | | | every file. llvm-svn: 10976
* Make sure to verify the result before writing out the bytecode file. Not doingChris Lattner2004-01-141-0/+3
| | | | | | so can cause obscure errors downstream. llvm-svn: 10840
* 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
* Added the -h option for compatibility with other linkers.John Criswell2003-12-091-0/+2
| | | | llvm-svn: 10335
* Fix compatibility with gcc 3.4Chris Lattner2003-11-291-5/+3
| | | | llvm-svn: 10262
* The function resolving pass must be run, even if -disable-opt is specifiedChris Lattner2003-11-281-6/+6
| | | | llvm-svn: 10250
* * The return value of LinkLibraries is ignored, so remove it.Chris Lattner2003-11-282-43/+31
| | | | | | | | * 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
* I'm gonna be picky and say we don't really need that trailing slash "lib/"Misha Brukman2003-11-241-1/+1
| | | | llvm-svn: 10196
* Make sure we ONLY add a `-load' switch to the JIT command line if the file isMisha Brukman2003-11-241-1/+2
| | | | | | verified as having an ELF header. This fixes PR151. llvm-svn: 10195
* When writing out the runner script, add -load=<lib> lines to pull in all theMisha Brukman2003-11-201-1/+18
| | | | | | shared objects automagically, so it doesn't have to be done by hand. llvm-svn: 10114
* Add ability to search only for native shared object, and expose theMisha Brukman2003-11-202-7/+9
| | | | | | functionality to the rest of gccld. llvm-svn: 10113
* For consistency, removed space between function name and left paren in functionMisha Brukman2003-11-201-15/+15
| | | | | | call, i.e. [ addPass (...) ] => [ addPass(...) ] llvm-svn: 10105
* * Doxygenified comments, simplifying them and shortening in the processMisha Brukman2003-11-201-67/+43
| | | | | | * Eliminated extra space llvm-svn: 10104
* Add a -verify option to verify the results of gccld passes.Brian Gaeke2003-11-161-43/+63
| | | | | | Add a -disable-opt option to turn off gccld optimization passes. llvm-svn: 10040
* 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-114-0/+17
| | | | 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
* Give gccld more gutsChris Lattner2003-11-092-2/+11
| | | | llvm-svn: 9835
* Give this header file an Emacs mode-line.Brian Gaeke2003-11-051-1/+1
| | | | llvm-svn: 9749
* Do not assume the first file is a bytecode file. Instead, construct a dummyBrian Gaeke2003-11-051-5/+3
| | | | | | | | Module and link things into that. Also, fix a typo in an error message. llvm-svn: 9748
* 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
* Make -r work, fixing PR 91Chris Lattner2003-11-051-3/+4
| | | | llvm-svn: 9724
* If linking a library, do not link other libraries, like libc, into it!Chris Lattner2003-11-031-1/+4
| | | | | | This fixes lots of annoying warnings and error messages llvm-svn: 9677
* lli -q is history. Rebuild your gccld shell scripts, folks!Brian Gaeke2003-10-241-1/+1
| | | | llvm-svn: 9494
* Turn on the inliner by default at link-timeChris Lattner2003-10-241-0/+10
| | | | llvm-svn: 9477
* Turn on the IPCP pass by default. It has passed all of the testsChris Lattner2003-10-231-0/+3
| | | | llvm-svn: 9435
* Fix off-by-one error in processing of libraries named on command line.Brian Gaeke2003-10-211-1/+1
| | | | llvm-svn: 9351
* Added LLVM copyright to Makefiles.John Criswell2003-10-201-0/+8
| | | | llvm-svn: 9314
* fix file headerChris Lattner2003-10-204-5/+1
| | | | llvm-svn: 9294
* Added copyright header to all C++ source files.John Criswell2003-10-204-0/+32
| | | | llvm-svn: 9291
* Don't include "Config/stdlib.h".Brian Gaeke2003-10-101-1/+0
| | | | llvm-svn: 9037
* Fix spelling.Misha Brukman2003-10-101-1/+2
| | | | llvm-svn: 9027
* 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
* * Ordered includes according to LLVM styleMisha Brukman2003-09-301-70/+18
| | | | | | | | | * Put function signatures on one line if possible * Deleted empty comment lines (^//$) * Deleted braces around single statements * Deleted space between function call and argument list llvm-svn: 8775
OpenPOWER on IntegriCloud