aboutsummaryrefslogtreecommitdiff
path: root/docs/CommandGuide/gccld.html
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-09-11 19:58:03 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-09-11 19:58:03 +0000
commitecf32e533594f895e91314cba092368ab0224469 (patch)
tree2978747369461b5285b28f0a5408cdc634b4f1d4 /docs/CommandGuide/gccld.html
parent2f2d06506c9167dada05b11debe717334de972d4 (diff)
Adding a skeleton for the LLVM Command Guide.
Hopefully the group as a whole will update this into a real guide. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide/gccld.html')
-rw-r--r--docs/CommandGuide/gccld.html124
1 files changed, 124 insertions, 0 deletions
diff --git a/docs/CommandGuide/gccld.html b/docs/CommandGuide/gccld.html
new file mode 100644
index 0000000000..15a4f5f226
--- /dev/null
+++ b/docs/CommandGuide/gccld.html
@@ -0,0 +1,124 @@
+<html>
+<title>
+gccld
+</title>
+
+<body>
+
+<center>
+<h1>Low Level Virtual Machine</h1>
+</center>
+<HR>
+
+<h3>
+NAME
+</h3>
+
+gccld
+
+<h3>
+SYNOPSIS
+</h3>
+
+gccld [options] &lt; filename&gt;
+<h3>
+DESCRIPTION
+</h3>
+
+The gccld utility takes a set of LLVM bytecode files GCC and links them
+together into a single LLVM bytecode file. It will link in any LLVM bytecode
+libraries that are necessary to make a single LLVM "bytecode executable."
+<p>
+The gccld utility is primarily used by the GCC front end, and as such, attempts
+to mimic the interface provided by the default system linker so that it can act
+as a "drop-in" replacement.
+
+<h3>
+OPTIONS
+</h3>
+
+<ul>
+ <li> -help
+ <br>
+ Print a summary of command line options.
+ <p>
+
+ <li> -o &lt;filename&gt;
+ <br>
+ Specify the output filename which will hold the assembled bytecode.
+ <p>
+
+ <li> -stats
+ <br>
+ Print statistics.
+ <p>
+
+ <li> -time-passes
+ <br>
+ Record the amount of time needed for each pass and print it to standard
+ error.
+ <p>
+
+ <li> -verify
+ <br>
+ Verify each pass result.
+ <p>
+
+ <li> -L=&lt;directory&gt;
+ <br>
+ Add directory to the list of directories to search when looking for
+ libraries.
+ <p>
+
+ <li> -disable-internalize
+ <br>
+ Do not mark all symbols as internal.
+ <p>
+
+ <li> -internalize-public-api-file &lt;filename&gt;
+ <br>
+ Preserve the list of symbol names in the file filename.
+ <p>
+
+ <li> -internalize-public-api-list &lt;list&gt;
+ <br>
+ Preserve the symbol names in list.
+ <p>
+
+ <li> -l=&lt;library prefix&gt;
+ <br>
+ Specify libraries to link to
+ <p>
+
+ <li> -link-as-library
+ <br>
+ Link the .bc files together as a library, not an executable.
+ <p>
+
+ <li> -s
+ <br>
+ Strip symbol information from the generated executable.
+ <p>
+
+ <li> -v
+ <br>
+ Print information about actions taken.
+</ul>
+
+<h3>
+EXIT STATUS
+</h3>
+
+If gccld succeeds, it will exit with 0. Otherwise, if an error occurs, it
+will exit with a non-zero value.
+
+<h3>
+SEE ALSO
+</h3>
+llvm-dis
+
+<HR>
+University of Illinois at Urbana-Champaign
+</body>
+</html>
+